Skip to content

Commit

Permalink
fix: Only .oneimg files are supported for upload. (#7)
Browse files Browse the repository at this point in the history
Co-authored-by: Gun <[email protected]>
  • Loading branch information
Zhz4 and Gun authored Nov 4, 2024
1 parent fc72dc3 commit e13498e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/header/header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ export function Header(props: HeaderProps) {
{/* <Link href="/"> */}
{/* <Logo type="full" /> */}
{/* </Link> */}
<Input onChange={handleFileImport} type="file" className="hidden" ref={fileRef} />
<Input onChange={handleFileImport} type="file" accept=".oneimg" className="hidden" ref={fileRef} />
<Menubar className="p-0 cursor-pointer border-none bg-white hover:bg-accent">
<MenubarMenu>
<MenubarTrigger>
Expand Down

0 comments on commit e13498e

Please sign in to comment.