Skip to content

Commit 68df355

Browse files
fix lint err
1 parent 4bebeab commit 68df355

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed
Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,9 @@
1-
import { useState } from "react";
21
import ListWithRadio from "../ui/list/ListWithRadio";
32

43
export default function QuestionInput() {
5-
const [selectedOption, setSelectedOption] = useState<string | null>(null);
6-
74
return (
85
<div className="col-span-full">
96

10-
<ListWithRadio
11-
value={selectedOption} // controlled
12-
onChange={(val: React.SetStateAction<string | null>) => setSelectedOption(val)}
13-
/>
7+
<ListWithRadio />
148
</div>)
159
}

frontend/src/components/ui/button/SpinnerButton.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ import Button from "./Button";
33
import Spinner from "@/components/ui/spinner";
44

55
interface SpinnerButtonProps {
6+
variant?: "primary" | "secondary" | "tertiary"; // Button variant
7+
size?: "sm" | "md" | undefined;
68
children: ReactNode; // Button text or content
79
startIcon?: ReactNode; // Icon before the text
810
onClick?: () => void; // Click handler

0 commit comments

Comments
 (0)