frontend client for gemstone. decentralised workplace app
2
fork

Configure Feed

Select the types of activity you want to include in your feed.

refactor: change debug provider hook conditional

serenity d6db8f6b 45306a66

+1 -1
+1 -1
src/providers/DebugProvider.tsx
··· 11 11 12 12 export const useDebugState = () => { 13 13 const value = useContext(DebugContext); 14 - if (value === null) 14 + if (!value) 15 15 throw new Error( 16 16 "Debug provider failed to initialise. Did you access this out of tree somehow? Tried to access debug value before it was initialised.", 17 17 );