Skip to content

Commit 780647e

Browse files
committed
refactor: lint
1 parent 74f17da commit 780647e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/Header.jsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ subscribe(APP_CONFIG_INITIALIZED, () => {
3737
const Header = ({ intl }) => {
3838
const { authenticatedUser, config } = useContext(AppContext);
3939

40-
const dashboardURL = config.DASHBOARD_URL ? config.DASHBOARD_URL : `${config.LMS_BASE_URL}/dashboard`
40+
const dashboardURL = config.DASHBOARD_URL ? config.DASHBOARD_URL : `${config.LMS_BASE_URL}/dashboard`;
4141
const mainMenu = [
4242
{
4343
type: 'item',
@@ -93,11 +93,11 @@ const Header = ({ intl }) => {
9393
},
9494
];
9595

96-
let name = null
96+
let name = null;
9797
if (authenticatedUser !== null && config.SHOW_FULLNAME === 'true') {
98-
name = authenticatedUser.name
98+
name = authenticatedUser.name;
9999
} else if (authenticatedUser !== null) {
100-
name = authenticatedUser.username
100+
name = authenticatedUser.username;
101101
}
102102

103103
const props = {

0 commit comments

Comments
 (0)