silphius/app/react/context/debug.js
2024-07-20 04:32:33 -05:00

10 lines
170 B
JavaScript

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