todosLists/Screen/SignOutScreen.js

15 lines
368 B
JavaScript
Raw Normal View History

2022-02-24 12:55:27 +01:00
import React, { useContext } from 'react'
2022-02-11 08:58:55 +01:00
import {Text, View } from 'react-native'
2022-02-24 12:55:27 +01:00
import { UsernameContext, TokenContext } from '../Context/Context'
2022-02-11 08:58:55 +01:00
export default function App() {
2022-02-24 12:55:27 +01:00
const [ username, setUsername] = useContext(UsernameContext)
const [ token, setToken] = useContext(TokenContext)
setToken(null)
setUsername("")
2022-02-11 08:58:55 +01:00
return (
<>
</>
);
}