full sonner implementation

This commit is contained in:
Oliver Bryan
2026-01-12 04:55:20 +00:00
parent cd9979f813
commit 2b0bf94134
18 changed files with 209 additions and 39 deletions

View File

@@ -1,5 +1,6 @@
import { Edit } from "lucide-react";
import { useRef, useState } from "react";
import { toast } from "sonner";
import Avatar from "@/components/avatar";
import { Button } from "@/components/ui/button";
import { Label } from "@/components/ui/label";
@@ -43,6 +44,10 @@ export function UploadAvatar({
setUploading(false);
},
});
toast.success(`Avatar uploaded successfully`, {
dismissible: false,
});
};
return (