Skip to content

Commit

Permalink
fix ts
Browse files Browse the repository at this point in the history
  • Loading branch information
ngrippa committed Jan 14, 2024
1 parent 8f804fb commit ec12b4d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/pages/library/AddChar.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React, { useState } from "react";
import { useState } from "react";
import { FormProvider, SubmitHandler, useForm } from "react-hook-form";
import { InvisibleSubmit } from "../../components/Form.tsx";
import { useGlobalState } from "../../state/State.tsx";
Expand Down
2 changes: 1 addition & 1 deletion src/pages/options/Stopwatch.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export const Stopwatch = () => {
const [difference, setDifference] = useState<Stopwatch>({ m: 0, s: 0 });

useEffect(() => {
let i: number | undefined;
let i: NodeJS.Timeout | undefined;
i = setInterval(() => {
setDifference(differenceInMinutesAndSeconds(new Date(), startDate));
}, 250);
Expand Down

0 comments on commit ec12b4d

Please sign in to comment.