Skip to content

Commit

Permalink
solved an error in home page
Browse files Browse the repository at this point in the history
  • Loading branch information
Saboorhemat committed Aug 11, 2023
1 parent 730c665 commit 98fb853
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
12 changes: 8 additions & 4 deletions src/presentation/web/src/layouts/main/MainHeader.js
Original file line number Diff line number Diff line change
Expand Up @@ -237,9 +237,6 @@ export default function MainHeader(props) {
/>
) : (
<>
<AccountPopover />
<LanguagePopover />
<NotificationsPopover />
{!userId ? (
<>
{!isDesktopDown && (
Expand All @@ -265,7 +262,14 @@ export default function MainHeader(props) {
</>
)}
</>
) : null}
) : (
<>
{' '}
<AccountPopover />
<NotificationsPopover />
</>
)}
<LanguagePopover />
</>
)}

Expand Down
4 changes: 1 addition & 3 deletions src/presentation/web/src/pages/Home.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
import React, { useState } from 'react';
// @mui
import Lottie from 'react-lottie';
import { styled } from '@mui/material';
import animationSetter from '../animations/animationSetter';
import animation from '../animations/shop/cart (2).json';

// components
import Page from '../components/Page';
// sections
Expand Down

0 comments on commit 98fb853

Please sign in to comment.