Skip to content

Commit

Permalink
chore: format code.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed Jan 12, 2022
1 parent 884c194 commit cfbdadd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
4 changes: 1 addition & 3 deletions renovate.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
{
"extends": [
"config:base"
]
"extends": ["config:base"]
}
4 changes: 2 additions & 2 deletions src/app/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import './App.css';

type Writeable<T> = { -readonly [P in keyof T]: T[P] };

type KeyboardEventType = Writeable<KeyboardEvent>
type KeyboardEventType = Writeable<KeyboardEvent>;

const App = () => {
const [data, setData] = useState<KeyboardEventType>();
Expand Down Expand Up @@ -57,7 +57,7 @@ const App = () => {
setCopied(true);
timer = setTimeout(() => {
setCopied(false);
target.parentElement!.classList.remove('copied')
target.parentElement!.classList.remove('copied');
clearTimeout(timer);
}, 1000);
}
Expand Down

0 comments on commit cfbdadd

Please sign in to comment.