This commit is contained in:
Gregory Schier
2024-12-20 23:49:48 -08:00
committed by GitHub
parent 51a11b6495
commit ecabe9b6ef
83 changed files with 511 additions and 551 deletions

View File

@@ -0,0 +1,6 @@
import { useContext } from 'react';
import { ToastContext } from '../components/ToastContext';
export function useToast() {
return useContext(ToastContext).actions;
}