File tree Expand file tree Collapse file tree 3 files changed +5
-1
lines changed Expand file tree Collapse file tree 3 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -190,6 +190,7 @@ const Days: React.FC<Props> = ({
190
190
< div className = "grid grid-cols-7 gap-y-0.5 my-1" >
191
191
{ calendarData . days . previous . map ( ( item , index ) => (
192
192
< button
193
+ type = "button"
193
194
key = { index }
194
195
className = "flex items-center justify-center text-gray-400 w-full h-12 lg:w-10 lg:h-10"
195
196
onClick = { ( ) => onClickPreviousDays ( item ) }
@@ -203,6 +204,7 @@ const Days: React.FC<Props> = ({
203
204
204
205
{ calendarData . days . current . map ( ( item , index ) => (
205
206
< button
207
+ type = "button"
206
208
key = { index }
207
209
className = { buttonCass ( item ) }
208
210
onClick = { ( ) => {
@@ -218,6 +220,7 @@ const Days: React.FC<Props> = ({
218
220
219
221
{ calendarData . days . next . map ( ( item , index ) => (
220
222
< button
223
+ type = "button"
221
224
key = { index }
222
225
className = "flex items-center justify-center text-gray-400 w-full h-12 lg:w-10 lg:h-10"
223
226
onClick = { ( ) => {
Original file line number Diff line number Diff line change @@ -159,6 +159,7 @@ const Input: React.FC = () => {
159
159
/>
160
160
161
161
< button
162
+ type = "button"
162
163
ref = { buttonRef }
163
164
className = "absolute right-0 h-full px-3 text-gray-400 focus:outline-none"
164
165
>
Original file line number Diff line number Diff line change @@ -222,7 +222,7 @@ export const RoundedButton: React.FC<Button> = ({
222
222
} , [ padding , primaryColor , roundedFull ] ) ;
223
223
224
224
return (
225
- < button className = { getClassName ( ) } onClick = { onClick } >
225
+ < button type = "button" className = { getClassName ( ) } onClick = { onClick } >
226
226
{ children }
227
227
</ button >
228
228
) ;
You can’t perform that action at this time.
0 commit comments