React code splitting (#2603)

* Code split using react lazy
* Split locales
* Move to lodash-es
* Import individual icons
This commit is contained in:
WithoutPants
2022-06-22 14:41:31 +10:00
committed by GitHub
parent 33b68b4464
commit 3b4b20e9b2
147 changed files with 969 additions and 610 deletions

View File

@@ -1,3 +1,4 @@
import { faUser } from "@fortawesome/free-solid-svg-icons";
import React from "react";
import { Button } from "react-bootstrap";
import { Link } from "react-router-dom";
@@ -36,7 +37,7 @@ export const PerformerPopoverButton: React.FC<IProps> = ({ performers }) => {
content={popoverContent}
>
<Button className="minimal">
<Icon icon="user" />
<Icon icon={faUser} />
<span>{performers.length}</span>
</Button>
</HoverPopover>