added key for hot reload
This commit is contained in:
parent
c99caa6b0d
commit
dcbc366532
@ -4,13 +4,11 @@ import { MatrixRainingLetters } from "react-mdr";
|
|||||||
import styled from "styled-components";
|
import styled from "styled-components";
|
||||||
import UsersList from "./components/UsersList";
|
import UsersList from "./components/UsersList";
|
||||||
import {round, constants} from "./constants";
|
import {round, constants} from "./constants";
|
||||||
import Flo from "./components/Flo";
|
|
||||||
import Wilix from "./components/Wilix";
|
import Wilix from "./components/Wilix";
|
||||||
|
|
||||||
function App() {
|
function App() {
|
||||||
return (
|
return (
|
||||||
<Wrapper>
|
<Wrapper>
|
||||||
{/*<Flo />*/}
|
|
||||||
<Wilix />
|
<Wilix />
|
||||||
<MatrixRainingLetters />
|
<MatrixRainingLetters />
|
||||||
<UsersList
|
<UsersList
|
||||||
|
@ -72,6 +72,7 @@ const UsersList: FC<TUsersList> = ({
|
|||||||
<Content ref={contentRef}>
|
<Content ref={contentRef}>
|
||||||
{containerWidth > 0 && (
|
{containerWidth > 0 && (
|
||||||
<TypeAnimation
|
<TypeAnimation
|
||||||
|
key={JSON.stringify(users + round)}
|
||||||
style={{ whiteSpace: 'pre-line', display: 'block', color: "#0F0", fontSize: "5vmin", opacity: 0.8 }}
|
style={{ whiteSpace: 'pre-line', display: 'block', color: "#0F0", fontSize: "5vmin", opacity: 0.8 }}
|
||||||
sequence={[usersSequence]}
|
sequence={[usersSequence]}
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
|
Loading…
x
Reference in New Issue
Block a user