silphius/app/context/debug.js
2024-06-25 09:00:02 -05:00

10 lines
170 B
JavaScript

import {createContext, useContext} from 'react';
const context = createContext();
export default context;
export function useDebug() {
return useContext(context);
}