mirror of
https://github.com/owncast/owncast.git
synced 2025-11-01 10:55:57 +08:00
chore(deps): update dependency prettier to v3.2.3 (#3520)
* chore(deps): update dependency prettier to v3.2.3 * chore(js): fix updated prettier whitespace --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Gabe Kangas <gabek@real-ity.com>
This commit is contained in:
@ -284,11 +284,10 @@ export const MainLayout: FC<MainLayoutProps> = ({ children }) => {
|
||||
};
|
||||
|
||||
useEffect(() => {
|
||||
menuItems.forEach(
|
||||
item =>
|
||||
item?.children?.forEach(child => {
|
||||
if (child?.key === route) setOpenKeys([...openMenuItems, item.key]);
|
||||
}),
|
||||
menuItems.forEach(item =>
|
||||
item?.children?.forEach(child => {
|
||||
if (child?.key === route) setOpenKeys([...openMenuItems, item.key]);
|
||||
}),
|
||||
);
|
||||
}, []);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user