add life for constant values

This commit is contained in:
Vikeo
2023-08-27 16:33:47 +02:00
parent ad4eb6ef76
commit 85a26b6687
4 changed files with 8 additions and 5 deletions

View File

@@ -1,6 +1,7 @@
import { ReactNode, useRef, useState } from 'react';
import styled from 'styled-components';
import { css } from 'styled-components';
import { decrementTimeoutMs } from '../../Data/constants';
import { CounterType, Rotation } from '../../Types/Player';
import { OutlinedText } from '../Misc/OutlinedText';
@@ -96,7 +97,7 @@ const ExtraCounter = ({
timeoutRef.current = setTimeout(() => {
setTimeoutFinished(true);
handleCountChange(-1);
}, 500);
}, decrementTimeoutMs);
};
const handleUpInput = () => {