Skip to content

Commit 729d12a

Browse files
committed
refactor: gym defender layout further
1 parent c2777c4 commit 729d12a

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

src/features/gym/GymPopup.jsx

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,6 @@ function withSurfaceReset(visuals) {
9595
* imageSrc?: string
9696
* imageAlt?: string
9797
* showBestBuddy?: boolean
98-
* textContainerStyle?: React.CSSProperties
9998
* trailingContent?: React.ReactNode
10099
* children: React.ReactNode
101100
* }} props
@@ -106,7 +105,6 @@ function DefenderRowLayout({
106105
imageSrc,
107106
imageAlt,
108107
showBestBuddy,
109-
textContainerStyle,
110108
trailingContent,
111109
children,
112110
}) {
@@ -173,7 +171,6 @@ function DefenderRowLayout({
173171
justifyContent: 'center',
174172
minWidth: 0,
175173
textAlign: 'left',
176-
...(textContainerStyle || {}),
177174
}}
178175
>
179176
{children}
@@ -341,7 +338,6 @@ function DefendersModal({ gym, onClose }) {
341338
imageSrc={fallbackImageSrc}
342339
imageAlt={t(`poke_${gym.guarding_pokemon_id}`)}
343340
showBestBuddy={gym.guarding_pokemon_display?.badge === 1}
344-
textContainerStyle={{ marginLeft: 4 }}
345341
>
346342
<Typography
347343
variant="subtitle1"

0 commit comments

Comments
 (0)