|
1 | 1 | import * as React from 'react'; |
2 | | -import { Login, SearchBox } from '@microsoft/mgt-react'; |
| 2 | +import { Login, SearchBox, useIsSignedIn } from '@microsoft/mgt-react'; |
3 | 3 | import { PACKAGE_VERSION } from '@microsoft/mgt-element'; |
4 | | -import { InfoButton } from '@fluentui/react-components/unstable'; |
5 | 4 | import { SimpleLogin } from './SimpleLogin'; |
6 | | -import { useIsSignedIn } from '../hooks/useIsSignedIn'; |
7 | 5 | import { useNavigate } from 'react-router-dom'; |
8 | 6 | import { ThemeSwitcher } from './ThemeSwitcher'; |
9 | 7 | import { useAppContext } from '../AppContext'; |
10 | | -import { Label, makeStyles, mergeClasses, shorthands, tokens } from '@fluentui/react-components'; |
| 8 | +import { Label, makeStyles, mergeClasses, shorthands, tokens, InfoLabel } from '@fluentui/react-components'; |
11 | 9 | import { GridDotsRegular } from '@fluentui/react-icons'; |
12 | 10 | import { useLocation } from 'react-router-dom'; |
13 | 11 |
|
@@ -149,11 +147,7 @@ const HeaderComponent: React.FunctionComponent = () => { |
149 | 147 |
|
150 | 148 | <div className={styles.waffleTitle}> |
151 | 149 | <Label className={styles.name}>{import.meta.env.VITE_SITE_NAME} </Label> |
152 | | - <InfoButton |
153 | | - className={styles.infoIcon} |
154 | | - size="medium" |
155 | | - info={<>Using the Graph Toolkit v{PACKAGE_VERSION}</>} |
156 | | - /> |
| 150 | + <InfoLabel className={styles.infoIcon} size="medium" info={<>Using the Graph Toolkit v{PACKAGE_VERSION}</>} /> |
157 | 151 | </div> |
158 | 152 | </div> |
159 | 153 | <div className={styles.search}> |
|
0 commit comments