Skip to content

Commit a0ddf41

Browse files
committed
yarn cleanup
1 parent 2270056 commit a0ddf41

File tree

4 files changed

+16
-11
lines changed

4 files changed

+16
-11
lines changed

resources/js/game/components/actions/partials/actions/actions.tsx

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,34 @@
11
import React, { ReactNode } from 'react';
2+
23
import MonsterSection from '../monster-section/monster-section';
34
import { useScrollIconMenu } from './hooks/use-scroll-icon-menu';
45
import NavigationActionsComponent from './navigation-actions';
56
import ActionsProps from './types/actions-props';
6-
import Card from 'ui/cards/card';
77
import FightLog from '../monster-section/fight-log';
88

9+
import Card from 'ui/cards/card';
10+
911
const Actions = (props: ActionsProps): ReactNode => {
1012
const { scrollY, isMobile } = useScrollIconMenu();
1113

1214
return (
1315
<Card>
14-
<div className="
16+
<div
17+
className="
1518
grid
1619
grid-cols-1
1720
lg:grid-cols-[auto_minmax(0,64rem)]
1821
xl:grid-cols-[auto_minmax(0,64rem)_1fr]
1922
justify-items-center
2023
gap-x-8
21-
">
24+
"
25+
>
2226
<div className="justify-self-center lg:justify-self-start">
2327
<NavigationActionsComponent scrollY={scrollY} isMobile={isMobile} />
2428
</div>
2529
<div className="justify-self-center w-full max-w-5xl">
26-
<div className='xl:ml-[450px]'>
27-
<MonsterSection show_monster_stats={props.showMonsterStats} />
30+
<div className="xl:ml-[450px]">
31+
<MonsterSection show_monster_stats={props.showMonsterStats} />
2832
</div>
2933
</div>
3034
<div className="hidden xl:block col-start-3 justify-self-center w-[480px]">

resources/js/game/components/actions/partials/monster-section/fight-log.tsx

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
import React from 'react';
2+
3+
import FightLogProps from './types/fight-log-props';
24
import AttackMessages from '../../components/fight-section/attack-messages';
35
import AttackMessageDefinition from '../../components/fight-section/deffinitions/attack-message-definition';
46
import { AttackMessageType } from '../../components/fight-section/enums/attack-message-type';
5-
import FightLogProps from './types/fight-log-props';
67

7-
const FightLog = ({close_action}: FightLogProps) => {
8+
const FightLog = ({ close_action }: FightLogProps) => {
89
const messages: AttackMessageDefinition[] = [
910
{
1011
message: 'You Attack for 150,000 Damage!',
@@ -40,6 +41,6 @@ const FightLog = ({close_action}: FightLogProps) => {
4041
</div>
4142
</div>
4243
);
43-
}
44+
};
4445

45-
export default FightLog
46+
export default FightLog;

resources/js/game/components/actions/partials/monster-section/monster-section.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ const MonsterSection = (props: MonsterSectionProps): ReactNode => {
9898
on_click={() => {}}
9999
/>
100100
</AttackButtonsContainer>
101-
<div className='block xl:hidden'>
101+
<div className="block xl:hidden">
102102
<Separator additional_css="w-full lg:w-1/5 mx-auto my-6" />
103103
<AttackMessages messages={messages} />
104104
</div>
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
export default interface FightLogProps {
22
close_action: () => void;
3-
}
3+
}

0 commit comments

Comments
 (0)