Skip to content

Commit

Permalink
Added new favicon
Browse files Browse the repository at this point in the history
  • Loading branch information
luloxi committed Sep 24, 2024
1 parent dd662d8 commit 9db4647
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/nextjs/app/api/ipfs/upload-image/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export async function POST(request: NextRequest) {
}

if (file.size > MAX_FILE_SIZE) {
return new NextResponse(JSON.stringify({ error: "File size exceeds the maximum limit of 2 MB" }), {
return new NextResponse(JSON.stringify({ error: "File size exceeds the maximum limit of 5 MB" }), {
status: 400,
});
}
Expand Down
2 changes: 1 addition & 1 deletion packages/nextjs/app/create/_components/ImageUploader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export const ImageUploader: React.FC<ImageUploaderProps> = ({ image, setUploaded
// Handle file drop or selection
const handleFileUpload = async (file: File) => {
if (file.size > MAX_FILE_SIZE_MB) {
notification.error("File is too large. Max size is 2 MB.");
notification.error("File is too large. Max size is 5 MB.");
return;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export const ProfilePictureUpload: React.FC<ProfilePictureUploadProps> = ({
// Handle file drop or selection
const handleFileUpload = async (file: File) => {
if (file.size > MAX_FILE_SIZE_MB) {
notification.error("File is too large. Max size is 2 MB.");
notification.error("File is too large. Max size is 5 MB.");
return;
}

Expand Down
Binary file modified packages/nextjs/public/favicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 9db4647

Please sign in to comment.