This commit is contained in:
amy 2024-12-04 01:01:22 +03:30
parent 58ede7284c
commit 43d4f55727
Signed by: amy
SSH key fingerprint: SHA256:Y6VEv6ZOxI6zqjjOF4luhfaCoY+zDK0w62P+qhQYie4
2 changed files with 4 additions and 7 deletions

8
.idea/workspace.xml generated
View file

@ -5,13 +5,8 @@
</component>
<component name="ChangeListManager">
<list default="true" id="4cc93404-63bf-4aee-bd04-2b0203a508b3" name="Changes" comment="">
<change afterPath="$PROJECT_DIR$/src/app/images/upload/page.css" afterDir="false" />
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/next.config.ts" beforeDir="false" afterPath="$PROJECT_DIR$/next.config.ts" afterDir="false" />
<change beforePath="$PROJECT_DIR$/package.json" beforeDir="false" afterPath="$PROJECT_DIR$/package.json" afterDir="false" />
<change beforePath="$PROJECT_DIR$/pnpm-lock.yaml" beforeDir="false" afterPath="$PROJECT_DIR$/pnpm-lock.yaml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/app/images/upload/page.tsx" beforeDir="false" afterPath="$PROJECT_DIR$/src/app/images/upload/page.tsx" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/app/page.tsx" beforeDir="false" afterPath="$PROJECT_DIR$/src/app/page.tsx" afterDir="false" />
</list>
<option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" />
@ -42,7 +37,7 @@
"RunOnceActivity.ShowReadmeOnStart": "true",
"RunOnceActivity.git.unshallow": "true",
"git-widget-placeholder": "main",
"last_opened_file_path": "/home/exhq/codeshit/ether",
"last_opened_file_path": "/home/exhq/codeshit/ether-frontend",
"node.js.detected.package.eslint": "true",
"node.js.detected.package.tslint": "true",
"node.js.selected.package.eslint": "(autodetect)",
@ -79,6 +74,7 @@
<workItem from="1733239451427" duration="6396000" />
<workItem from="1733250368879" duration="1956000" />
<workItem from="1733252479518" duration="1692000" />
<workItem from="1733254541032" duration="2685000" />
</task>
<servers />
</component>

View file

@ -12,7 +12,8 @@ export default function Page() {
const [apiKey, setApiKey] = useState('');
const [message, setMessage] = useState('');
const handleFileChange = (e: any) => {
//@ts-expect-error the thing breaks idfk
const handleFileChange = (e) => {
setFile(e.target.files[0]);
};