Skip to content

Commit

Permalink
fix cache key for ndaTemplateOptions
Browse files Browse the repository at this point in the history
  • Loading branch information
juliaqiuxy committed Jul 11, 2020
1 parent 4fe57f3 commit b1a6c40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ Index.getInitialProps = async (ctx) => {
}

const { ndaTemplateOptions } = await NdaifyService.withCache(
['ndasTemplateOptions'],
['ndaTemplateOptions'],
(queryKey, data) => ({ ndaTemplateOptions: data }),
() => ndaifyService.getNdaTemplateOptions(),
);
Expand Down

0 comments on commit b1a6c40

Please sign in to comment.