protect against localstrorage error

This commit is contained in:
arkml 2025-09-08 14:07:39 +05:30
parent f772088e90
commit 9a60a03217
2 changed files with 9 additions and 4 deletions

View file

@ -1,3 +1,4 @@
"use client";
import { useFloating, offset, flip, shift, arrow, FloatingArrow, FloatingPortal, autoUpdate } from '@floating-ui/react';
import { useCallback, useEffect, useRef, useState } from 'react';
import { XIcon } from 'lucide-react';