diff --git a/client/src/app/pages/dashboard/misc/SupportBanner.tsx b/client/src/app/pages/dashboard/misc/SupportBanner.tsx index 2627c1004..b34121f9e 100644 --- a/client/src/app/pages/dashboard/misc/SupportBanner.tsx +++ b/client/src/app/pages/dashboard/misc/SupportBanner.tsx @@ -20,6 +20,15 @@ export default function SupportBanner({ user }: { user: UserDocument }) { localStorage.setItem("SHOW_SUPPORT_TACHI", `${show}`); }, [show]); + // thank you + if (user.isSupporter) { + return ( +
+
❤️❤️❤️ Thank you for supporting {TachiConfig.name}. ❤️❤️❤️
+
+ ); + } + if (!data) { return <>; } @@ -37,15 +46,6 @@ export default function SupportBanner({ user }: { user: UserDocument }) { return <>; } - // thank you - if (user.isSupporter) { - return ( -
-
❤️❤️❤️ Thank you for supporting {TachiConfig.name}. ❤️❤️❤️
-
- ); - } - if (!show) { return (