diff --git a/packages/fa-icon-chooser/src/components/fa-icon-chooser/fa-icon-chooser.tsx b/packages/fa-icon-chooser/src/components/fa-icon-chooser/fa-icon-chooser.tsx index 1c75fe1..32766cb 100644 --- a/packages/fa-icon-chooser/src/components/fa-icon-chooser/fa-icon-chooser.tsx +++ b/packages/fa-icon-chooser/src/components/fa-icon-chooser/fa-icon-chooser.tsx @@ -18,7 +18,7 @@ import { faSadTear, faTire } from '../../utils/icons'; import { slotDefaults } from '../../utils/slots'; import { IconDefinition } from '../../utils/utils'; -export type QueryHandler = (document: string, variables?: object) => Promise; +export type QueryHandler = (document: string, variables?: object, options?: object) => Promise; type KitMetadata = { version: string; @@ -279,6 +279,7 @@ export class FaIconChooser { } `, { token: this.kitToken }, + { cache: true } ); if (get(response, 'errors')) {