Skip to content

Commit d72e8de

Browse files
author
Rajat Saxena
committed
Profile image accepted media
1 parent aaf98d7 commit d72e8de

File tree

1 file changed

+2
-0
lines changed
  • apps/web/app/(with-contexts)/dashboard/(sidebar)/profile

1 file changed

+2
-0
lines changed

apps/web/app/(with-contexts)/dashboard/(sidebar)/profile/page.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ import {
1818
useToast,
1919
} from "@courselit/components-library";
2020
import { FetchBuilder } from "@courselit/utils";
21+
import { MIMETYPE_IMAGE } from "@ui-config/constants";
2122
import {
2223
BUTTON_SAVE,
2324
TOAST_TITLE_ERROR,
@@ -297,6 +298,7 @@ export default function Page() {
297298
}}
298299
type="user"
299300
hidePreview={true}
301+
mimeTypesToShow={MIMETYPE_IMAGE}
300302
/>
301303
</Section>
302304
<Form onSubmit={saveDetails} className="w-full lg:!w-4/6">

0 commit comments

Comments
 (0)