Skip to content

Drop in a screenshot and convert it to clean code (HTML/Tailwind/React/Vue)

Python

Merge branch 'main' into pr/63

Abi Rajae983d2b727ac
diff --cc frontend/src/App.tsx
index 23a5cdda,2b962e6b..b9f78665
--- a/frontend/src/App.tsx
+++ b/frontend/src/App.tsx
@@@ -1,4 -1,4 +1,4 @@@
- import { useRef, useState } from "react";
-import { useState, useCallback } from "react";
++import { useRef, useState, useCallback } from "react";
import ImageUpload from "./components/ImageUpload";
import CodePreview from "./components/CodePreview";
import Preview from "./components/Preview";
@@@ -12,6 -13,7 +13,8 @@@ import
FaMobile,
FaUndo,
} from "react-icons/fa";
+ import copy from "copy-to-clipboard";
++import toast from "react-hot-toast";
import { Button } from "@/components/ui/button";
import { Textarea } from "@/components/ui/textarea";
import { Tabs, TabsContent, TabsList, TabsTrigger } from "./components/ui/tabs";