mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-05-30 11:20:44 +02:00
Fixed the circular imports and things
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
import { useContext } from 'react';
|
||||
import { ToastContext } from '../components/ToastContext';
|
||||
|
||||
export function useToast() {
|
||||
return useContext(ToastContext).actions;
|
||||
}
|
||||
Reference in New Issue
Block a user