import { ActionIcon, Affix, Group, Paper, Progress, Stack, Text } from '@mantine/core'; import { IconQuestionMark } from '@tabler/icons'; import { useTranslation } from 'next-i18next'; import { useNamedWrapperColumnCount, useWrapperColumnCount } from '../Wrappers/gridstack/store'; import { DashboardView } from './DashboardView'; export const DashboardEditView = () => { const wrapperColumnCount = useWrapperColumnCount(); const namedWrapperColumnCount = useNamedWrapperColumnCount(); const widthInTotal = ((wrapperColumnCount ?? 0) / 12) * 100; const { t } = useTranslation('layout/screen-sizes'); const translatedSize = t(`sizes.${namedWrapperColumnCount}`); return ( <> {t('popover.title', { size: translatedSize })} {t('popover.description')} ); };