Files
yaak/apps/yaak-client/components/IsDev.tsx
2026-05-07 15:50:10 -07: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}</>;
}