Skip to content

Commit

Permalink
[ShowAllActivities] different getStateFromStore functions (#383)
Browse files Browse the repository at this point in the history
Co-authored-by: Samuel <[email protected]>
  • Loading branch information
l0rdsami and l0rdsami authored Jan 9, 2024
1 parent 5045c65 commit dd55c3d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions ShowAllActivities/components/wrapper.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ const ActivityTypes = {

const {useCallback, useMemo, useState} = React;

const useStateFromStores = Webpack.getModule(m => m?.toString?.().includes("useStateFromStores"), {searchExports: true});
const useStateFromStoresArray = useStateFromStores;
const useStateFromStores = Webpack.getModule(m => m.useStateFromStores).useStateFromStores;
const useStateFromStoresArray = Webpack.getModule(m => m.useStateFromStores).useStateFromStoresArray;
const {Messages} = Webpack.getModule(m => m?.Messages?.MEMBER_LIST_SHOWN);
const PresenceStore = Webpack.getStore("PresenceStore");
const Tooltip = BdApi.Components.Tooltip
Expand Down
2 changes: 1 addition & 1 deletion ShowAllActivities/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ShowAllActivities",
"version": "1.1.1",
"version": "1.1.2",
"authors": [
{
"name": "Strencher",
Expand Down

0 comments on commit dd55c3d

Please sign in to comment.