From c789256ebd5691b805c81bd673a153a984b3039e Mon Sep 17 00:00:00 2001 From: Pinapelz Date: Tue, 14 Nov 2023 19:21:37 -0800 Subject: chores: cleanup unused files --- src/app/components/Control.tsx | 42 ------------------------------------------ src/app/components/Video.tsx | 0 tsconfig.json | 2 +- 3 files changed, 1 insertion(+), 43 deletions(-) delete mode 100644 src/app/components/Control.tsx delete mode 100644 src/app/components/Video.tsx diff --git a/src/app/components/Control.tsx b/src/app/components/Control.tsx deleted file mode 100644 index 2ad2339..0000000 --- a/src/app/components/Control.tsx +++ /dev/null @@ -1,42 +0,0 @@ -import React from 'react'; - -function Control({ - onPlay, - onPause, - onReset, - current, - setCurrent, - recoverAutoScrollImmediately, -}: { - onPlay: () => void; - onPause: () => void; - onReset: () => void; - current: number; - setCurrent: (c: number) => void; - recoverAutoScrollImmediately: () => void; -}) { - return ( -
- - - - setCurrent(Number(event.target.value))} - className="input" - /> - -
- ); -} - -export default Control; \ No newline at end of file diff --git a/src/app/components/Video.tsx b/src/app/components/Video.tsx deleted file mode 100644 index e69de29..0000000 diff --git a/tsconfig.json b/tsconfig.json index db0f6f4..e59724b 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -22,6 +22,6 @@ "@/*": ["./src/*"] } }, - "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts", "src/app/test.lrc"], + "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"], "exclude": ["node_modules"] } -- cgit v1.2.3