Import source: cshare-app/src/components/ToastContext

Import the existing local project snapshot. This commit organizes existing files; it does not represent newly developed functionality.
This commit is contained in:
arsam
2026-09-18 23:14:23 +03:30
parent 329e3bd7d8
commit 4d3312aa99
@@ -0,0 +1,8 @@
import { createContext, useContext } from 'react';
export const ToastContext = createContext(null);
export function useToast() {
return useContext(ToastContext);
}