File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change 11import React from 'react' ;
22import { useTranslation } from 'react-i18next' ;
3- import Legal from './Legal' ;
3+ import { Legal } from './Legal' ;
44
5- function TermsOfUse ( ) {
5+ export function TermsOfUse ( ) {
66 const { t } = useTranslation ( ) ;
77
88 return < Legal policyFile = "terms-of-use.md" title = { t ( 'Legal.TermsOfUse' ) } /> ;
99}
10-
11- export default TermsOfUse ;
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ import FullView from './modules/IDE/pages/FullView';
99import { About } from './modules/About/pages/About' ;
1010import { CodeOfConduct } from './modules/Legal/pages/CodeOfConduct' ;
1111import { PrivacyPolicy } from './modules/Legal/pages/PrivacyPolicy' ;
12- import TermsOfUse from './modules/Legal/pages/TermsOfUse' ;
12+ import { TermsOfUse } from './modules/Legal/pages/TermsOfUse' ;
1313import LoginView from './modules/User/pages/LoginView' ;
1414import SignupView from './modules/User/pages/SignupView' ;
1515import ResetPasswordView from './modules/User/pages/ResetPasswordView' ;
You can’t perform that action at this time.
0 commit comments