Skip to content

Commit

Permalink
Fix lint error
Browse files Browse the repository at this point in the history
Refs: #5844
  • Loading branch information
anicyne committed Jan 8, 2025
1 parent 89d6ec3 commit ef95d39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/samples/react/src/components/modal/basic.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export const ModalBasic: FC = () => {
const modalState = searchParams.get('show-modal') as string;
const modalElement = useRef<HTMLKolModalElement>(null);
const stackedModalElement = useRef<HTMLKolModalElement>(null);
const [variant, setVariant] = useState('blank');
const [variant, setVariant] = useState<'card' | 'blank'>('blank');
useEffect(() => {
if (modalState === 'true') {
modalElement.current?.openModal();
Expand Down

0 comments on commit ef95d39

Please sign in to comment.