Skip to content

Commit

Permalink
Merge pull request #151 from map3xyz/phil/map-235-clicking-back-from-…
Browse files Browse the repository at this point in the history
…order-history-when

fix(cache): set no-cache policy on app with asset id
  • Loading branch information
plondon authored Mar 8, 2023
2 parents 92e5146 + 2451f3f commit 63b9b43
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/App.withAssetId.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ const AppWithAssetId: React.FC<AppProps & { plan: Organization['plan'] }> = ({
const { selection } = config.options || {};
const { assetId } = selection || {};
const { data, error, loading, refetch } = useGetAssetsForOrgQuery({
fetchPolicy: 'no-cache',
variables: { assetId: assetId },
});

Expand Down

0 comments on commit 63b9b43

Please sign in to comment.