Skip to content

Commit

Permalink
Merge pull request #7558 from joshq00/master
Browse files Browse the repository at this point in the history
Add queryClient prop to <Admin />
  • Loading branch information
fzaninotto authored Apr 16, 2022
2 parents 01d70c8 + 01775ed commit 953716c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/react-admin/src/Admin.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ export const Admin = (props: AdminProps) => {
loginPage,
menu, // deprecated, use a custom layout instead
notification,
queryClient,
requireAuth,
store,
ready,
Expand All @@ -126,6 +127,7 @@ export const Admin = (props: AdminProps) => {
i18nProvider={i18nProvider}
store={store}
history={history}
queryClient={queryClient}
theme={theme}
>
<AdminUI
Expand Down

0 comments on commit 953716c

Please sign in to comment.