diff --git a/components/PreviewPageMask/PreviewPageMask.tsx b/components/PreviewPageMask/PreviewPageMask.tsx index 3227a450..a93bb1f3 100644 --- a/components/PreviewPageMask/PreviewPageMask.tsx +++ b/components/PreviewPageMask/PreviewPageMask.tsx @@ -4,9 +4,9 @@ import styles from './PreviewPageMask.module.scss'; export function PreviewPageMask() { const searchParams = useSearchParams(); - const preview = JSON.parse(searchParams.get('preview') ?? 'false'); + const mask = JSON.parse(searchParams.get('mask') || 'false'); - if (!preview) { + if (!mask) { return null; }