aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPinapelz <yukais@pinapelz.com>2023-11-14 19:21:37 -0800
committerPinapelz <yukais@pinapelz.com>2023-11-14 19:21:37 -0800
commitc789256ebd5691b805c81bd673a153a984b3039e (patch)
tree45d727cbbb01b2c57dec089fe7d9134cf1557a30
parent7b6d5f1666e428c37c936bd6b01323c3a6399ac6 (diff)
chores: cleanup unused files
-rw-r--r--src/app/components/Control.tsx42
-rw-r--r--src/app/components/Video.tsx0
-rw-r--r--tsconfig.json2
3 files changed, 1 insertions, 43 deletions
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 (
- <div className="flex items-center space-x-2 p-2 bg-gray-200">
- <button type="button" onClick={onPlay} className="btn">
- play
- </button>
- <button type="button" onClick={onPause} className="btn">
- pause
- </button>
- <button type="button" onClick={onReset} className="btn">
- reset
- </button>
- <input
- type="number"
- value={current}
- onChange={(event) => setCurrent(Number(event.target.value))}
- className="input"
- />
- <button type="button" onClick={recoverAutoScrollImmediately} className="btn">
- recover auto scroll immediately
- </button>
- </div>
- );
-}
-
-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
--- a/src/app/components/Video.tsx
+++ /dev/null
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"]
}
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage