Fix compilation.

This commit is contained in:
Paulo Gustavo Veiga 2022-04-08 17:36:55 -03:00
parent 860e46d3ec
commit b1f6507a77

View File

@ -34,7 +34,6 @@ type ShareModel = {
const defaultModel: ShareModel = { emails: '', role: 'editor', message: '' }; const defaultModel: ShareModel = { emails: '', role: 'editor', message: '' };
const ShareDialog = ({ mapId, onClose }: SimpleDialogProps): React.ReactElement => { const ShareDialog = ({ mapId, onClose }: SimpleDialogProps): React.ReactElement => {
const intl = useIntl(); const intl = useIntl();
const queryClient = useQueryClient();
const client: Client = useSelector(activeInstance); const client: Client = useSelector(activeInstance);
const queryClient = useQueryClient(); const queryClient = useQueryClient();
const classes = useStyles(); const classes = useStyles();