Skip to content

Commit da7baa5

Browse files
committed
fix: cleanup unused state
1 parent c332f2a commit da7baa5

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

gui/src/components/dialogs/FeedbackDialog.tsx

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,11 @@
11
import { usePostHog } from "posthog-js/react";
2-
import { useState } from "react";
32
import { Button, Input, SecondaryButton } from "..";
43
import { useAppDispatch } from "../../redux/hooks";
54
import { setDialogMessage, setShowDialog } from "../../redux/slices/uiSlice";
65

76
export default function FeedbackDialog() {
87
const posthog = usePostHog();
98
const dispatch = useAppDispatch();
10-
const [submitted, setSubmitted] = useState(false);
11-
12-
if (submitted) {
13-
}
149

1510
return (
1611
<div className="mx-auto flex max-w-md flex-col p-6 pt-8">

0 commit comments

Comments
 (0)