mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-20 05:05:47 +01:00
BUG: Fix console error about bad ref use. (#278)
This commit is contained in:
parent
313f6ada94
commit
71bae01fd4
@ -55,9 +55,9 @@ import { InvitationsSeen } from "../../Faction/ui/FactionsRoot";
|
|||||||
import { hash } from "../../hash/hash";
|
import { hash } from "../../hash/hash";
|
||||||
import { Locations } from "../../Locations/Locations";
|
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)" }} />
|
<DoubleArrowIcon color={props.color} style={{ transform: "rotate(-90deg)" }} />
|
||||||
);
|
));
|
||||||
|
|
||||||
const openedMixin = (theme: Theme): CSSObject => ({
|
const openedMixin = (theme: Theme): CSSObject => ({
|
||||||
width: theme.spacing(31),
|
width: theme.spacing(31),
|
||||||
|
Loading…
Reference in New Issue
Block a user