From d7476e7294d3775a79b6f6b3a5ae4ed9adf70c06 Mon Sep 17 00:00:00 2001
From: elcharitas <jonathanirhodia@gmail.com>
Date: Wed, 27 Mar 2024 10:31:03 +0100
Subject: [PATCH] cleanups

---
 packages/frontend/src/containers/toasts/ToastContainer.tsx | 7 +++++--
 .../frontend/src/mobile-containers/SuperfeedContainer.tsx  | 2 +-
 2 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/packages/frontend/src/containers/toasts/ToastContainer.tsx b/packages/frontend/src/containers/toasts/ToastContainer.tsx
index fb9dab48..d291b9e1 100644
--- a/packages/frontend/src/containers/toasts/ToastContainer.tsx
+++ b/packages/frontend/src/containers/toasts/ToastContainer.tsx
@@ -7,8 +7,11 @@ interface ToastContainerProps extends ToastOptions {
     containerClassName?: string;
 }
 
-const ToastContainer: FC<ToastContainerProps> = (options) => {
-    const { position, containerClassName, ...toastOptions } = options;
+const ToastContainer: FC<ToastContainerProps> = ({
+    position,
+    containerClassName,
+    ...toastOptions
+}) => {
     return (
         <Toaster
             containerClassName={containerClassName}
diff --git a/packages/frontend/src/mobile-containers/SuperfeedContainer.tsx b/packages/frontend/src/mobile-containers/SuperfeedContainer.tsx
index 86f5cb5e..d5dc49ab 100644
--- a/packages/frontend/src/mobile-containers/SuperfeedContainer.tsx
+++ b/packages/frontend/src/mobile-containers/SuperfeedContainer.tsx
@@ -183,7 +183,7 @@ const SuperfeedContainer: FC<{
                 }).unwrap();
             } catch (e) {
                 Logger.error("SuperfeedModule::FeedCard: error liking item", e);
-                toast("Error sharing item", {
+                toast("We could not save your preference at this time", {
                     type: EToastRole.Error,
                 });
             }