From d739be11afb0d5ec52480ba58f221db45f1e6327 Mon Sep 17 00:00:00 2001 From: Bradley Shellnut Date: Thu, 28 Jul 2022 17:34:34 -0700 Subject: [PATCH] Remove name from Toast. --- src/lib/util/manipulateCollection.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/util/manipulateCollection.ts b/src/lib/util/manipulateCollection.ts index dff4758..cf20e63 100644 --- a/src/lib/util/manipulateCollection.ts +++ b/src/lib/util/manipulateCollection.ts @@ -4,10 +4,10 @@ import { ToastType, type GameType } from '$lib/types'; export function addToCollection(game: GameType) { collectionStore.add(game); - toast.send(`"${game.name}" added to collection!`, { duration: 3000, type: ToastType.INFO }); + toast.send("Added to collection", { duration: 3000, type: ToastType.INFO }); } export function removeFromCollection(game: GameType) { collectionStore.remove(game.id); - toast.send(`Removed "${game.name}" from collection!`, { duration: 3000, type: ToastType.INFO }); + toast.send("Removed from collection", { duration: 3000, type: ToastType.INFO }); }