import React, { useEffect, useState } from 'react'; import styles from './clickerpage.module.css'; import { ClickerBtn } from '../../Clicker/ClickerBtn'; import { Profile } from '../../Clicker/Profile'; import { ETextStyles } from '../../texts'; import { SectionsBlock } from '../../Clicker/SectionsBlock'; import { ClickerFooter } from '../../Clicker/ClickerFooter'; import { StyleElements } from '../../Clicker/StyleElements'; interface IClickerPageInterface { name: string, points: number, energy: number, img: string } export function ClickerPage({ name, points, img, energy }: IClickerPageInterface) { const styleIndex = Number(localStorage.getItem('selectedStyle')); const [coins, setCoins] = useState(points); return (

Мои рекорды

{styleIndex != 0 &&
}
); }