Skip to content

Commit

Permalink
linting
Browse files Browse the repository at this point in the history
  • Loading branch information
benoitquette committed Dec 27, 2023
1 parent d793f28 commit 27ff152
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions src/components/Loadable.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,10 @@ import Loader from './Loader';

// ==============================|| LOADABLE - LAZY LOADING ||============================== //

const Loadable = (Component) => (props) =>
(
<Suspense fallback={<Loader />}>
<Component {...props} />
</Suspense>
);
const Loadable = (Component) => (props) => (
<Suspense fallback={<Loader />}>
<Component {...props} />
</Suspense>
);

export default Loadable;

0 comments on commit 27ff152

Please sign in to comment.