mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2025-05-07 20:23:06 +03:00
#325 Updated to react 17
This commit is contained in:
parent
18bccab27a
commit
6c90d7072f
134 changed files with 2691 additions and 735 deletions
src/common
|
@ -1,4 +1,4 @@
|
|||
import React, { FC, useEffect } from 'react';
|
||||
import { FC, useEffect } from 'react';
|
||||
import { Route, Switch } from 'react-router-dom';
|
||||
import { EventData, Swipeable } from 'react-swipeable';
|
||||
import { faBars as burgerIcon } from '@fortawesome/free-solid-svg-icons';
|
||||
|
@ -46,7 +46,7 @@ const MenuLayout = (
|
|||
};
|
||||
|
||||
return (
|
||||
<React.Fragment>
|
||||
<>
|
||||
<FontAwesomeIcon icon={burgerIcon} className={burgerClasses} onClick={toggleSidebar} />
|
||||
|
||||
<Swipeable
|
||||
|
@ -73,7 +73,7 @@ const MenuLayout = (
|
|||
</div>
|
||||
</div>
|
||||
</Swipeable>
|
||||
</React.Fragment>
|
||||
</>
|
||||
);
|
||||
}, ServerError);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue