Skip to content

Open source website builder and Webflow alternative. Webstudio is an advanced visual builder that connects to any headless CMS, supports all CSS properties, and can be hosted anywhere, including with us.

Update apps/designer/app/designer/features/sidebar-left/panels/components/image.tsx

Sara Vieira7cc02f459c63
diff --git a/apps/designer/app/designer/features/sidebar-left/panels/components/image.tsx b/apps/designer/app/designer/features/sidebar-left/panels/components/image.tsx
index 615067feb5..340f3eea5f 100644
--- a/apps/designer/app/designer/features/sidebar-left/panels/components/image.tsx
+++ b/apps/designer/app/designer/features/sidebar-left/panels/components/image.tsx
@@ -12,7 +12,7 @@ const getImagePaths = (loadedImage: string) => ({
const useImageWithFallbaack = ({ path }: { path: string }) => {
const images = useMemo(() => getImagePaths(path), [path]);
- const [imageSrc, setImageSrc] = useState(images.placeholder);
+ const [src, setSrc] = useState(images.placeholder);
useEffect(() => {
const newImage = new Image();