mirror of
https://github.com/usebruno/bruno.git
synced 2024-11-24 17:03:47 +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 { savePreferences } from 'providers/ReduxStore/slices/app';
|
||||
|
||||
const Window = (props) => {
|
||||
const MainWindow = (props) => {
|
||||
const preferences = useSelector((state) => state.app.preferences);
|
||||
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 StyledWrapper from './StyledWrapper';
|
||||
import Window from './Window/index';
|
||||
import MainWindow from './MainWindow/index';
|
||||
|
||||
const Preferences = ({ onClose }) => {
|
||||
const [tab, setTab] = useState('general');
|
||||
@ -35,7 +35,7 @@ const Preferences = ({ onClose }) => {
|
||||
}
|
||||
|
||||
case 'interface': {
|
||||
return <Window close={onClose} />;
|
||||
return <MainWindow close={onClose} />;
|
||||
}
|
||||
|
||||
case 'keybindings': {
|
||||
@ -51,7 +51,7 @@ const Preferences = ({ onClose }) => {
|
||||
}
|
||||
|
||||
case 'window': {
|
||||
return <Window close={onClose} />;
|
||||
return <MainWindow close={onClose} />;
|
||||
}
|
||||
}
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user