fix: resolve typescript and build errors across admin and guest apps
This commit is contained in:
@@ -5,7 +5,7 @@ import { MobileSheet } from './Sheet';
|
||||
import { CTAButton } from './Primitives';
|
||||
import { useAdminTheme } from '../theme';
|
||||
|
||||
type Translator = (key: string, defaultValue?: string) => string;
|
||||
type Translator = any;
|
||||
|
||||
type LegalConsentSheetProps = {
|
||||
open: boolean;
|
||||
@@ -51,7 +51,7 @@ export function LegalConsentSheet({
|
||||
borderRadius: 4,
|
||||
appearance: 'auto',
|
||||
WebkitAppearance: 'auto',
|
||||
} as const;
|
||||
} as any;
|
||||
|
||||
React.useEffect(() => {
|
||||
if (open) {
|
||||
|
||||
Reference in New Issue
Block a user