added key for hot reload

This commit is contained in:
Иван Скопинцев 2025-09-12 17:11:06 +03:00
parent c99caa6b0d
commit dcbc366532
2 changed files with 1 additions and 2 deletions

View File

@ -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

View File

@ -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