From 14a815c1e3c1ad722af4792695c98dc993ea7f44 Mon Sep 17 00:00:00 2001 From: Dustin Loring Date: Sat, 18 Jan 2025 16:30:26 -0500 Subject: [PATCH] chore: lint fix quick lint fix --- app/components/workbench/Preview.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/components/workbench/Preview.tsx b/app/components/workbench/Preview.tsx index 9bb70c6..b3f6849 100644 --- a/app/components/workbench/Preview.tsx +++ b/app/components/workbench/Preview.tsx @@ -36,10 +36,10 @@ export const Preview = memo(() => { const [url, setUrl] = useState(''); const [iframeUrl, setIframeUrl] = useState(); - // 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(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);