Skip to content

Commit 3749d46

Browse files
committed
chore: remove redundant unknown type from error catch
1 parent 6e82d01 commit 3749d46

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apps/web/src/features/upload/pages/UploadPage.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export const UploadPage = () => {
3030
try {
3131
const { content, fileName } = createUploadTemplateCSV(instrument!);
3232
void download(fileName, content);
33-
} catch (error: unknown) {
33+
} catch (error) {
3434
if (error instanceof Error) {
3535
addNotification({
3636
message: t({

0 commit comments

Comments
 (0)