use babel macros

This commit is contained in:
Viktor Rådberg
2023-08-04 13:40:04 +02:00
parent d90b989965
commit 2eebdc130c
17 changed files with 29 additions and 17 deletions

View File

@@ -1,5 +1,5 @@
import { useEffect, useState } from 'react';
import styled, { css, keyframes } from 'styled-components';
import styled, { css, keyframes } from 'styled-components/macro';
import { Player, Rotation } from '../../Types/Player';
import LifeCounterButton from '../Buttons/LifeCounterButton';
import SettingsButton from '../Buttons/SettingsButton';