Comment out beta switch while Rome Beta has not yet started.

This commit is contained in:
Patrick Fic
2024-01-29 12:25:04 -08:00
parent ae56e27e5f
commit 69b4b76501

View File

@@ -13,7 +13,8 @@ import Icon, {
FileFilled,
//GlobalOutlined,
HomeFilled,
ImportOutlined, InfoCircleOutlined,
ImportOutlined,
InfoCircleOutlined,
LineChartOutlined,
PaperClipOutlined,
PhoneOutlined,
@@ -116,7 +117,7 @@ function Header({
setBeta(checked);
setBetaSwitch(checked);
handleBeta();
}
};
return (
<Layout.Header>
@@ -443,17 +444,18 @@ function Header({
</Menu.Item>
))}
</Menu.SubMenu>
<Menu.Item style={{marginLeft: 'auto'}} key="profile">
<Tooltip title="A more modern ImEX Online is ready for you to try! You can switch back at any time.">
<InfoCircleOutlined/>
<span style={{marginRight: 8}}>Try the new ImEX Online</span>
<Switch
checked={betaSwitch}
onChange={betaSwitchChange}
/>
</Tooltip>
</Menu.Item>
{
// <Menu.Item style={{marginLeft: 'auto'}} key="profile">
// <Tooltip title="A more modern ImEX Online is ready for you to try! You can switch back at any time.">
// <InfoCircleOutlined/>
// <span style={{marginRight: 8}}>Try the new ImEX Online</span>
// <Switch
// checked={betaSwitch}
// onChange={betaSwitchChange}
// />
// </Tooltip>
// </Menu.Item>
}
</Menu>
</Layout.Header>
);