Skip to content

Commit

Permalink
style: ChangeEvent를 type으로 import
Browse files Browse the repository at this point in the history
  • Loading branch information
Yoonkyoungme committed Jul 24, 2024
1 parent 585bd1d commit 43d2794
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion frontend/src/hooks/useInput/useInput.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { ChangeEvent, useState } from 'react';
import { useState } from 'react';
import type { ChangeEvent } from 'react';

const useInput = (initialValue = '') => {
const [value, setValue] = useState(initialValue);
Expand Down

0 comments on commit 43d2794

Please sign in to comment.