We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a4af5bd commit 3a6280eCopy full SHA for 3a6280e
src/MainScreen.tsx
@@ -10,9 +10,7 @@ const defaultText = "Describe this image."
10
export default function MainScreen() {
11
const tabs = useChatGPTTabs()
12
const imageURL = useActiveTabImageURL()
13
- // Persist the text value so that accidentally closing the extension doesn't
14
- // lose whatever was written.
15
- const [text, setText] = useState("text")
+ const [text, setText] = useState("")
16
const [selectedTabId, setSelectedTabId] = useState(tabs[0]?.id ?? -1)
17
const [isSending, setIsSending] = useState(false)
18
0 commit comments