Fix sidebar menu styles
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
This commit is contained in:
parent
0b231ad38a
commit
2637ff4403
2 changed files with 7 additions and 7 deletions
|
@ -9,6 +9,12 @@ import {
|
||||||
|
|
||||||
import type { AppDispatch } from 'soapbox/store';
|
import type { AppDispatch } from 'soapbox/store';
|
||||||
|
|
||||||
|
const changeAlerts = (path: Array<string>, value: any) =>
|
||||||
|
(dispatch: AppDispatch) => {
|
||||||
|
dispatch(setAlerts(path, value));
|
||||||
|
dispatch(saveSettings() as any);
|
||||||
|
};
|
||||||
|
|
||||||
export {
|
export {
|
||||||
SET_BROWSER_SUPPORT,
|
SET_BROWSER_SUPPORT,
|
||||||
SET_SUBSCRIPTION,
|
SET_SUBSCRIPTION,
|
||||||
|
@ -17,9 +23,3 @@ export {
|
||||||
register,
|
register,
|
||||||
changeAlerts,
|
changeAlerts,
|
||||||
};
|
};
|
||||||
|
|
||||||
const changeAlerts = (path: Array<string>, value: any) =>
|
|
||||||
(dispatch: AppDispatch) => {
|
|
||||||
dispatch(setAlerts(path, value));
|
|
||||||
dispatch(saveSettings() as any);
|
|
||||||
};
|
|
||||||
|
|
|
@ -194,7 +194,7 @@ const SidebarMenu: React.FC = (): JSX.Element | null => {
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
>
|
>
|
||||||
<div className='relative h-full w-full overflow-auto overflow-y-scroll'>
|
<div className='relative h-full w-full overflow-auto'>
|
||||||
<div className='p-4'>
|
<div className='p-4'>
|
||||||
{account ? (
|
{account ? (
|
||||||
<Stack space={4}>
|
<Stack space={4}>
|
||||||
|
|
Loading…
Reference in a new issue