feat(ui): remove shouldTransformUrls

This is no longer used.
This commit is contained in:
psychedelicious
2023-06-05 20:24:18 +10:00
parent 2fc0a4d53b
commit 8283d23b74
11 changed files with 10 additions and 93 deletions

View File

@ -1,7 +1,6 @@
import { Flex } from '@chakra-ui/react';
import { createSelector } from '@reduxjs/toolkit';
import { useAppDispatch, useAppSelector } from 'app/store/storeHooks';
import { useGetUrl } from 'common/util/getUrl';
import {
clearInitialImage,
initialImageChanged,
@ -30,7 +29,6 @@ const selector = createSelector(
const InitialImagePreview = () => {
const { initialImage } = useAppSelector(selector);
const { shouldFetchImages } = useAppSelector(configSelector);
const { getUrl } = useGetUrl();
const dispatch = useAppDispatch();
const { t } = useTranslation();
const toaster = useAppToaster();