From ab5f73757a08b59d1a8fca3c257751ea905db1c0 Mon Sep 17 00:00:00 2001 From: pog who? <54505527+E-boi@users.noreply.github.com> Date: Sat, 11 Mar 2023 23:33:55 -0500 Subject: [PATCH] Its back!! --- .../customrpc/components/UserActivities.tsx | 33 +++++++++++-------- plugins/customrpc/components/index.ts | 15 +++++++++ 2 files changed, 34 insertions(+), 14 deletions(-) diff --git a/plugins/customrpc/components/UserActivities.tsx b/plugins/customrpc/components/UserActivities.tsx index c366afc..a280d4e 100644 --- a/plugins/customrpc/components/UserActivities.tsx +++ b/plugins/customrpc/components/UserActivities.tsx @@ -1,6 +1,6 @@ import { webpack } from "replugged"; import { AnyFunction, ObjectExports } from "replugged/dist/types"; -import { UserActivity } from "."; +import { Scroller, UserActivity } from "."; const useStateFromStoreRaw = await webpack.waitForModule( webpack.filters.bySource("useStateFromStores"), @@ -21,21 +21,26 @@ export default () => { (ActivityStore!.getActivities as AnyFunction)(), ) as unknown[]; + if (!Scroller) return null; + return (