fix: ui problem

This commit is contained in:
QiShaoXuan
2022-10-20 16:27:05 +08:00
parent e13aeda5b2
commit 1c09b79cf8
8 changed files with 89 additions and 48 deletions
+15 -2
View File
@@ -32,20 +32,22 @@ export const FAQ = () => {
>
<Grow in={showContent}>
<StyledFAQWrapper>
<Tooltip content="Contact with us" placement="left-end">
<Tooltip content="Contact Us" placement="left-end">
<StyledIconWrapper
isEdgelessDark={isEdgelessDark}
onClick={() => {
setShowContent(false);
contactModalHandler(true);
}}
>
<ContactIcon />
</StyledIconWrapper>
</Tooltip>
<Tooltip content="Keyboard shorts" placement="left-end">
<Tooltip content="Keyboard Shortcuts" placement="left-end">
<StyledIconWrapper
isEdgelessDark={isEdgelessDark}
onClick={() => {
setShowContent(false);
shortcutsModalHandler(true);
}}
>
@@ -67,3 +69,14 @@ export const FAQ = () => {
</>
);
};
const routesLIst: any = [
{
path: '/',
children: [
{
element: <HelpIcon />,
},
],
},
];