diff --git a/apps/yaak-client/components/CommercialUseBanner.tsx b/apps/yaak-client/components/CommercialUseBanner.tsx index aa7265ee..f1719f28 100644 --- a/apps/yaak-client/components/CommercialUseBanner.tsx +++ b/apps/yaak-client/components/CommercialUseBanner.tsx @@ -10,7 +10,6 @@ import { DismissibleBanner } from "./core/DismissibleBanner"; const COMMERCIAL_USE_SNOOZE_MS = 7 * 24 * 60 * 60 * 1000; const COMMERCIAL_USE_BANNER_MESSAGE = "Personal use of Yaak is free. If you’re using Yaak at work, please purchase a license."; -const hiddenBanner = ; export function CommercialUseBanner({ source, @@ -56,7 +55,7 @@ export function CommercialUseBanner({ }, [setSnoozedAt, snoozed, source]); if (!visible || isSnoozeLoading || (snoozed && !snoozeStartedRef.current)) { - return hiddenBanner; + return null; } return ( diff --git a/apps/yaak-client/components/git/GitCommitDialog.tsx b/apps/yaak-client/components/git/GitCommitDialog.tsx index 799ad98f..bf875d9b 100644 --- a/apps/yaak-client/components/git/GitCommitDialog.tsx +++ b/apps/yaak-client/components/git/GitCommitDialog.tsx @@ -206,9 +206,10 @@ export function GitCommitDialog({ syncDir, onDone, workspace }: Props) { layout="horizontal" defaultRatio={0.6} firstSlot={({ style }) => ( -
+
)} secondSlot={({ style: innerStyle }) => ( -
+