mirror of
https://github.com/usebruno/bruno.git
synced 2024-11-25 01:14:23 +01:00
fix: was changed name of component
This commit is contained in:
parent
135111753d
commit
2adba15157
@ -6,7 +6,7 @@ import * as Yup from 'yup';
|
|||||||
import { useSelector, useDispatch } from 'react-redux';
|
import { useSelector, useDispatch } from 'react-redux';
|
||||||
import { savePreferences } from 'providers/ReduxStore/slices/app';
|
import { savePreferences } from 'providers/ReduxStore/slices/app';
|
||||||
|
|
||||||
const Window = (props) => {
|
const MainWindow = (props) => {
|
||||||
const preferences = useSelector((state) => state.app.preferences);
|
const preferences = useSelector((state) => state.app.preferences);
|
||||||
const dispatch = useDispatch();
|
const dispatch = useDispatch();
|
||||||
|
|
||||||
@ -57,4 +57,4 @@ const Window = (props) => {
|
|||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
export default Window;
|
export default MainWindow;
|
@ -9,7 +9,7 @@ import Display from './Display';
|
|||||||
import Keybindings from './Keybindings';
|
import Keybindings from './Keybindings';
|
||||||
|
|
||||||
import StyledWrapper from './StyledWrapper';
|
import StyledWrapper from './StyledWrapper';
|
||||||
import Window from './Window/index';
|
import MainWindow from './MainWindow/index';
|
||||||
|
|
||||||
const Preferences = ({ onClose }) => {
|
const Preferences = ({ onClose }) => {
|
||||||
const [tab, setTab] = useState('general');
|
const [tab, setTab] = useState('general');
|
||||||
@ -35,7 +35,7 @@ const Preferences = ({ onClose }) => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
case 'interface': {
|
case 'interface': {
|
||||||
return <Window close={onClose} />;
|
return <MainWindow close={onClose} />;
|
||||||
}
|
}
|
||||||
|
|
||||||
case 'keybindings': {
|
case 'keybindings': {
|
||||||
@ -51,7 +51,7 @@ const Preferences = ({ onClose }) => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
case 'window': {
|
case 'window': {
|
||||||
return <Window close={onClose} />;
|
return <MainWindow close={onClose} />;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user