BUG: Fix console error about bad ref use. (#278)

This commit is contained in:
David Walker 2023-01-01 01:10:06 -08:00 committed by GitHub
parent 313f6ada94
commit 71bae01fd4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -55,9 +55,9 @@ import { InvitationsSeen } from "../../Faction/ui/FactionsRoot";
import { hash } from "../../hash/hash";
import { Locations } from "../../Locations/Locations";
const RotatedDoubleArrowIcon = (props: { color: "primary" | "secondary" | "error" }) => (
const RotatedDoubleArrowIcon = React.forwardRef((props: { color: "primary" | "secondary" | "error" }, __ref) => (
<DoubleArrowIcon color={props.color} style={{ transform: "rotate(-90deg)" }} />
);
));
const openedMixin = (theme: Theme): CSSObject => ({
width: theme.spacing(31),