Files
yaak/apps/yaak-client/components/IsDev.tsx
2026-03-06 09:23:19 -08:00

15 lines
246 B
TypeScript

import type { ReactNode } from 'react';
import { appInfo } from '../lib/appInfo';
interface Props {
children: ReactNode;
}
export function IsDev({ children }: Props) {
if (!appInfo.isDev) {
return null;
}
return <>{children}</>;
}