Skip to content

Commit

Permalink
update type
Browse files Browse the repository at this point in the history
  • Loading branch information
shahzad31 committed Jan 27, 2022
1 parent 4c4d419 commit b3e2a91
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ export const useLensAttributes = (): TypedLensByValueInput['attributes'] | null

const lensAttributes = new LensAttributes(layerConfigs);

return lensAttributes.getJSON(lastRefresh);
return lensAttributes.getJSON();
// we also want to check the state on allSeries changes
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [indexPatterns, reportType, storage, theme, lastRefresh, allSeries]);
Expand Down

0 comments on commit b3e2a91

Please sign in to comment.