feat: implement Supabase database schema and core authentication flow with registration and login pages
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
'use client'
|
||||
|
||||
import { useEffect } from 'react'
|
||||
import { toast } from 'react-hot-toast'
|
||||
|
||||
export function ErrorToaster({ message }: { message: string }) {
|
||||
useEffect(() => {
|
||||
if (message) {
|
||||
toast.error(message)
|
||||
}
|
||||
}, [message])
|
||||
|
||||
return null
|
||||
}
|
||||
Reference in New Issue
Block a user