Files
ServerKit/frontend/src/contexts/useNotifications.js
T

10 lines
232 B
JavaScript

import { createContext, useContext } from 'react';
export const NotificationsContext = createContext(null);
export function useNotifications() {
return useContext(NotificationsContext);
}
export default NotificationsContext;