Remove unused

Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
This commit is contained in:
marcin mikołajczak 2024-09-17 16:01:22 +02:00
parent fa46081ba7
commit 62cb2b5882

View file

@ -8,7 +8,6 @@ import {
useLocale,
useAppSelector,
} from 'pl-fe/hooks';
import { userTouching } from 'pl-fe/is-mobile';
import { normalizePlFeConfig } from 'pl-fe/normalizers';
import { startSentry } from 'pl-fe/sentry';
import { generateThemeCss } from 'pl-fe/utils/theme';
@ -26,7 +25,7 @@ const PlFeHead: React.FC<IPlFeHead> = ({ children }) => {
const plFeConfig = usePlFeConfig();
const theme = useTheme();
const withModals = useAppSelector((state) => !state.modals.isEmpty() || (state.dropdown_menu.isOpen && userTouching.matches));
const withModals = useAppSelector((state) => !state.modals.isEmpty());
const themeCss = generateThemeCss(demo ? normalizePlFeConfig({ brandColor: '#d80482' }) : plFeConfig);
const dsn = plFeConfig.sentryDsn;