Skip to content

Commit

Permalink
AppOrderProvider: key query on user id
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnC-80 committed Jan 28, 2025
1 parent 2ad7943 commit a78b938
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/MainNav/AppOrderProvider.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ export const AppOrderProvider = ({ children }) => {
const { formatMessage } = useIntl();
const { getPreference, setPreference, removePreference } = usePreferences();

const { data: userAppList, isLoading, refetch: refetchAppList } = useQuery('UserPrefsAppListing', () => {
const { data: userAppList, isLoading, refetch: refetchAppList } = useQuery(`${stripes.user.user.id}-pref-query`, () => {
return getPreference({ key: APPORDER_PREF_NAME, scope: APPORDER_PREF_SCOPE });
});

Expand Down

0 comments on commit a78b938

Please sign in to comment.