Skip to content

Commit 9adf509

Browse files
committed
Fix import
1 parent 7991ed8 commit 9adf509

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/components/Modals/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,4 @@ export { default as NewFileModal } from "./NewFileModal";
1111
export { default as NewFolderModal } from "./NewFolderModal";
1212
export { default as RenameModal } from "./RenameModal";
1313
export { default as UploadModal } from "./UploadModal";
14+
export { default as ErrorModal } from "./ErrorModal";

src/utils/errorProvider.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { createContext, useContext, useState } from "react";
2-
import ErrorModal from "src/components/Modals/ErrorModal";
2+
import { ErrorModal } from "Components";
33
import { Error, ErrorType } from "Types";
44

55
const ErrorContext = createContext<Error>({

0 commit comments

Comments
 (0)