- Added FlashToast component to manage flash notifications. - Updated app layout to include the Toaster component for displaying notifications. - Refactored Sonner component to remove theme dependency.
8 lines
130 B
TypeScript
8 lines
130 B
TypeScript
import { useFlashToast } from '@/hooks/use-flash-toast';
|
|
|
|
export function FlashToast() {
|
|
useFlashToast();
|
|
|
|
return null;
|
|
}
|