Custom siteInfoMoreMenu stopped working after new update

Have not tried downgrading yet, but to replicate, I think you can do:

export default function (context) {
	const { React, hooks } = context;
	const { Route } = context.ReactRouter;

	hooks.addContent('routes[site-info]', () => {
		return (
			<Route
				key="some-slug"
				path="/main/site-info/:siteID/some-slug"
				render={(props) => <h1>Simplest component</h1>}
				notifier={context.notifier}
			/>
		);
	});

	/**
	 * Adding new menu item for this plugin
	 */
	hooks.addFilter('siteInfoMoreMenu', (menu, site) => {
		menu.push(
			{
				label: 'Some label',
				enabled: true,
				click: () => {
					context.events.send(
						'goToRoute',
						`/main/site-info/${site.id}/some-slug`,
					);
				},
			},
		);

		return menu;
	});
}

In renderer.tsx