2022-02-27 06:19:16 +00:00
|
|
|
import { useUser } from './use-user'
|
2022-02-09 18:58:33 +00:00
|
|
|
|
|
|
|
export const useAdmin = () => {
|
|
|
|
const user = useUser()
|
2022-02-27 06:19:16 +00:00
|
|
|
const adminIds = [
|
|
|
|
'igi2zGXsfxYPgB0DJTXVJVmwCOr2', // Austin
|
|
|
|
'5LZ4LgYuySdL1huCWe7bti02ghx2', // James
|
|
|
|
'tlmGNz9kjXc2EteizMORes4qvWl2', // Stephen
|
|
|
|
'IPTOzEqrpkWmEzh6hwvAyY9PqFb2', // Manifold
|
|
|
|
]
|
|
|
|
return adminIds.includes(user?.id || '')
|
2022-02-09 18:58:33 +00:00
|
|
|
}
|