Skip to content

Conversation

@Moisac
Copy link
Collaborator

@Moisac Moisac commented Dec 12, 2020

No description provided.

const Appointments = () => {
const [searchText, setSearchText] = useState('')
const [searchedColumn, setSearchedColumn] = useState('')
const [searchInput, setSearchInput]: any = useState('')
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

scoate any

export const UserContext = createContext('')

export const UserProvider = (props) => {
const isAuth: any = localStorage.getItem('appointments_management_login_token')
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

si aici scoate any

const isAuth: any = localStorage.getItem('appointments_management_login_token')
export type User = {
loggedUser: boolean,
setLoggedUser?: any
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

incearca asa: setLoggedUser: () => void

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants