Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
nchaulet committed Mar 2, 2022
1 parent 10cb3af commit d59fe9f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ function getDefaultOutput(defaultOutputName?: string) {

export function useOutputOptions() {
const outputsRequest = useGetOutputs();
const { isPlatinium: isPlatiniumFn } = useLicense();
const licenseService = useLicense();

const isPlatinium = useMemo(() => isPlatiniumFn(), [isPlatiniumFn]);
const isPlatinium = useMemo(() => licenseService.isPlatinium(), [licenseService]);

const outputOptions: Array<EuiSuperSelectOption<string>> = useMemo(() => {
if (outputsRequest.isLoading || !outputsRequest.data) {
Expand Down

0 comments on commit d59fe9f

Please sign in to comment.