Skip to content
This repository has been archived by the owner on Jul 17, 2024. It is now read-only.

Commit

Permalink
Rename parameter to mask
Browse files Browse the repository at this point in the history
  • Loading branch information
kudlajz committed May 16, 2024
1 parent 66fa378 commit ef1a8be
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/PreviewPageMask/PreviewPageMask.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit ef1a8be

Please sign in to comment.