added the route

This commit is contained in:
daniel31x13
2024-06-26 21:38:34 -04:00
parent 586074ef43
commit 239589eaed
10 changed files with 185 additions and 41 deletions
@@ -47,7 +47,7 @@ export default function NewCollectionModal({ onClose, parent }: Props) {
toast.dismiss(load);
if (response.ok) {
toast.success(t("created"));
toast.success(t("created_success"));
if (response.data) {
setAccount(data?.user.id as number);
onClose();