mirror of
https://github.com/Vikeo/LifeTrinket.git
synced 2025-11-14 06:58:00 +00:00
rename type
This commit is contained in:
@@ -4,7 +4,7 @@ import { useEffect, useState } from 'react';
|
||||
import styled from 'styled-components';
|
||||
import { GridTemplateAreas } from '../../../Data/GridTemplateAreas';
|
||||
import {
|
||||
InitialSettings,
|
||||
InitialPlaySettings,
|
||||
createInitialPlayers,
|
||||
} from '../../../Data/getInitialPlayers';
|
||||
import { theme } from '../../../Data/theme';
|
||||
@@ -113,7 +113,7 @@ const Start = () => {
|
||||
const [openModal, setOpenModal] = useState(false);
|
||||
const [keepAwake, setKeepAwake] = useState(true);
|
||||
|
||||
const [playerOptions, setPlayerOptions] = useState<InitialSettings>(
|
||||
const [playerOptions, setPlayerOptions] = useState<InitialPlaySettings>(
|
||||
initialGameSettings || {
|
||||
numberOfPlayers: 4,
|
||||
startingLifeTotal: 40,
|
||||
|
||||
Reference in New Issue
Block a user