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 UsersList from "./components/UsersList";
|
||||
import {round, constants} from "./constants";
|
||||
import Flo from "./components/Flo";
|
||||
import Wilix from "./components/Wilix";
|
||||
|
||||
function App() {
|
||||
return (
|
||||
<Wrapper>
|
||||
{/*<Flo />*/}
|
||||
<Wilix />
|
||||
<MatrixRainingLetters />
|
||||
<UsersList
|
||||
|
@ -72,6 +72,7 @@ const UsersList: FC<TUsersList> = ({
|
||||
<Content ref={contentRef}>
|
||||
{containerWidth > 0 && (
|
||||
<TypeAnimation
|
||||
key={JSON.stringify(users + round)}
|
||||
style={{ whiteSpace: 'pre-line', display: 'block', color: "#0F0", fontSize: "5vmin", opacity: 0.8 }}
|
||||
sequence={[usersSequence]}
|
||||
// @ts-ignore
|
||||
|
Loading…
x
Reference in New Issue
Block a user