refactor(modules): second part of moving files around, changing layout etc

This commit is contained in:
David Ralph
2024-02-19 09:42:59 +00:00
parent 618b5fe466
commit 294b3830bf
87 changed files with 760 additions and 728 deletions

View File

@@ -6,7 +6,7 @@ import {
MdOutlineVisibility,
MdOutlineKeyboardArrowRight,
} from 'react-icons/md';
import EventBus from 'utils/helpers/eventbus';
import EventBus from 'utils/eventbus';
import { Button } from 'components/Elements';
export const CustomActions = ({ children }) => {

View File

@@ -3,8 +3,8 @@ import { Row, Content, Action } from '../Item/SettingsItem';
import variables from 'config/variables';
import Slider from '../../../Form/Settings/Slider/Slider';
import { values } from 'utils/helpers/settings/modals';
import EventBus from 'utils/helpers/eventbus';
import values from 'utils/data/slider_values.json';
import EventBus from 'utils/eventbus';
const PreferencesWrapper = ({ children, ...props }) => {
const [shown, setShown] = useState(localStorage.getItem(props.setting) === 'true');
@@ -32,7 +32,7 @@ const PreferencesWrapper = ({ children, ...props }) => {
max="400"
default="100"
display="%"
marks={values('zoom')}
marks={values.zoom}
category={props.zoomCategory || props.category}
/>
</Action>