Skip to content

Commit

Permalink
๐Ÿ› fix: ์‚ฌ์šฉํ•˜์ง€ ์•Š๋Š” ๋ณ€์ˆ˜ ์ฃผ์„ ์ฒ˜๋ฆฌ
Browse files Browse the repository at this point in the history
  • Loading branch information
baegyeong committed Dec 2, 2024
1 parent 8d14d70 commit 8e8f86e
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions packages/frontend/src/pages/stock-detail/AddAlarmForm.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { useState } from 'react';
import { Button } from '@/components/ui/button';
import { Input } from '@/components/ui/input';
import { ALARM_OPTIONS } from '@/constants/alarmOptions';
Expand All @@ -8,10 +7,10 @@ interface AddAlarmFormProps {
className?: string;
}

type AlarmMethod = 'push' | 'email';
// type AlarmMethod = 'push' | 'email';

export const AddAlarmForm = ({ className }: AddAlarmFormProps) => {
const [alarmMethod, setAlarmMethod] = useState<AlarmMethod>('push');
// const [alarmMethod, setAlarmMethod] = useState<AlarmMethod>('push');
const handleSubmit = () => {};

return (
Expand Down Expand Up @@ -53,7 +52,7 @@ export const AddAlarmForm = ({ className }: AddAlarmFormProps) => {
id="push"
checked
className="w-fit"
onChange={() => setAlarmMethod('push')}
// onChange={() => setAlarmMethod('push')}
/>
<label htmlFor="push" className="display-medium14">
์›น ํ‘ธ์‹œ
Expand All @@ -63,7 +62,7 @@ export const AddAlarmForm = ({ className }: AddAlarmFormProps) => {
name="method"
id="email"
className="w-fit"
onChange={() => setAlarmMethod('email')}
// onChange={() => setAlarmMethod('email')}
/>
<label htmlFor="email" className="display-medium14">
์ด๋ฉ”์ผ
Expand Down

0 comments on commit 8e8f86e

Please sign in to comment.