fix: 🐛 clear all other selector destrucuring
This commit is contained in:
parent
c548c7fa2f
commit
145642f1ea
1 changed files with 13 additions and 4 deletions
|
|
@ -67,8 +67,14 @@ const Layout = () => {
|
|||
const navigate = useNavigate();
|
||||
const client = useContext(GUIClientContext);
|
||||
const dispatch = useDispatch();
|
||||
const { showDialog, dialogEntryOn, dialogMessage } = useSelector(
|
||||
(state: RootStore) => state.uiState
|
||||
const dialogMessage = useSelector(
|
||||
(state: RootStore) => state.uiState.dialogMessage
|
||||
);
|
||||
const showDialog = useSelector(
|
||||
(state: RootStore) => state.uiState.showDialog
|
||||
);
|
||||
const dialogEntryOn = useSelector(
|
||||
(state: RootStore) => state.uiState.dialogEntryOn
|
||||
);
|
||||
|
||||
// #region Selectors
|
||||
|
|
@ -76,8 +82,11 @@ const Layout = () => {
|
|||
(state: RootStore) => state.config.vscMediaUrl
|
||||
);
|
||||
|
||||
const { bottomMessage, displayBottomMessageOnBottom } = useSelector(
|
||||
(state: RootStore) => state.uiState
|
||||
const bottomMessage = useSelector(
|
||||
(state: RootStore) => state.uiState.bottomMessage
|
||||
);
|
||||
const displayBottomMessageOnBottom = useSelector(
|
||||
(state: RootStore) => state.uiState.displayBottomMessageOnBottom
|
||||
);
|
||||
|
||||
// #endregion
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue