Remove unrequired invalidation

This commit is contained in:
Paulo Gustavo Veiga 2022-10-05 20:53:56 -07:00
parent 11a93dd7aa
commit d5f2fc9f50

View File

@ -35,7 +35,6 @@ const HistoryDialog = ({ mapId, onClose }: SimpleDialogProps): React.ReactElemen
const changeHistory: ChangeHistory[] = data ? data : []; const changeHistory: ChangeHistory[] = data ? data : [];
const handleOnClose = (): void => { const handleOnClose = (): void => {
queryClient.invalidateQueries(`history-${mapId}`);
onClose(); onClose();
}; };