File tree Expand file tree Collapse file tree 1 file changed +8
-7
lines changed
Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -6,18 +6,19 @@ import { ThemingParameters } from '@ui5/webcomponents-react-base';
66import { useLink } from '../lib/shared/useLink.ts' ;
77import { useTranslation } from 'react-i18next' ;
88import * as Sentry from '@sentry/react' ;
9+ import { useEffect } from 'react' ;
910
1011export default function LoginView ( ) {
1112 const auth = useAuthOnboarding ( ) ;
1213 const { documentationHomepage } = useLink ( ) ;
1314 const { t } = useTranslation ( ) ;
14-
15- Sentry . addBreadcrumb ( {
16- category : 'auth' ,
17- message : 'Visit Login Page' ,
18- level : 'info' ,
19- } ) ;
20-
15+ useEffect ( ( ) => {
16+ Sentry . addBreadcrumb ( {
17+ category : 'auth' ,
18+ message : 'Visit Login Page' ,
19+ level : 'info' ,
20+ } ) ;
21+ } , [ ] ) ;
2122 return (
2223 < FlexBox
2324 className = "box"
You can’t perform that action at this time.
0 commit comments