At implementing login and getUser

This commit is contained in:
49lf
2024-07-24 21:37:29 -04:00
parent 0b454939b3
commit 118ac33ebe
16 changed files with 264 additions and 176 deletions

View File

@ -1,4 +1,12 @@
import toast from 'react-hot-toast'
let toast = undefined
try {
global
} catch (e) {
import('react-hot-toast').then((_toast) => {
toast = _toast
})
}
type ExcludeErr<T> = Exclude<T, Error>