Web: Components: ViewSelector: delete loading func

This commit is contained in:
Viktor Fomin 2022-03-17 15:16:44 +03:00
parent b031cadb29
commit c36f32dc6d

View File

@ -25,7 +25,6 @@ const ViewSelector = ({
};
const lastIndx = viewSettings && viewSettings.length - 1;
const loadingSVG = () => <svg></svg>;
const { t } = useTranslation("Common");
@ -55,7 +54,7 @@ const ViewSelector = ({
: t("Common:SwitchToThumbnails")
}
>
<ReactSVG src={icon} loading={loadingSVG} />
<ReactSVG src={icon} />
</IconWrapper>
);
})}