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