mirror of
https://github.com/ManInDark/HabitTrove.git
synced 2026-03-10 04:19:49 +01:00
Multiuser support (#60)
This commit is contained in:
10
app/debug/layout.tsx
Normal file
10
app/debug/layout.tsx
Normal file
@@ -0,0 +1,10 @@
|
||||
import { ReactNode } from "react";
|
||||
|
||||
export default function Debug({children}: {children: ReactNode}) {
|
||||
if (process.env.NODE_ENV !== 'development') return null
|
||||
return (
|
||||
<div className="debug">
|
||||
{children}
|
||||
</div>
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user