chore: lint fix

quick lint fix
This commit is contained in:
Dustin Loring 2025-01-18 16:32:30 -05:00 committed by GitHub
commit dcf5a0468c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -36,10 +36,10 @@ export const Preview = memo(() => {
const [url, setUrl] = useState('');
const [iframeUrl, setIframeUrl] = useState<string | undefined>();
// Toggle between responsive mode and device mode
// toggle between responsive mode and device mode
const [isDeviceModeOn, setIsDeviceModeOn] = useState(false);
// Use percentage for width
// use percentage for width
const [widthPercent, setWidthPercent] = useState<number>(37.5);
const resizingState = useRef({
@ -184,7 +184,7 @@ export const Preview = memo(() => {
useEffect(() => {
const handleWindowResize = () => {
// Optional: Adjust widthPercent if necessary
// optional: adjust widthPercent if necessary
};
window.addEventListener('resize', handleWindowResize);