diff --git a/packages/common/env/src/global.ts b/packages/common/env/src/global.ts index 7e9527be4e..40fbf74ee7 100644 --- a/packages/common/env/src/global.ts +++ b/packages/common/env/src/global.ts @@ -29,7 +29,6 @@ export const runtimeFlagsSchema = z.object({ enableEnhanceShareMode: z.boolean(), enablePayment: z.boolean(), enablePageHistory: z.boolean(), - enableCopilot: z.boolean(), // this is for the electron app serverUrlPrefix: z.string(), enableMoveDatabase: z.boolean(), diff --git a/packages/frontend/component/src/ui/switch/switch.tsx b/packages/frontend/component/src/ui/switch/switch.tsx index b26c896396..739d47e47f 100644 --- a/packages/frontend/component/src/ui/switch/switch.tsx +++ b/packages/frontend/component/src/ui/switch/switch.tsx @@ -19,6 +19,7 @@ export const Switch = ({ checked: checkedProp = false, onChange: onChangeProp, children, + className, ...otherProps }: SwitchProps) => { const [checkedState, setCheckedState] = useState(checkedProp); @@ -34,7 +35,7 @@ export const Switch = ({ ); return ( -