Skip to content

Commit

Permalink
dont use wrapper
Browse files Browse the repository at this point in the history
  • Loading branch information
rossbulat committed Jan 9, 2025
1 parent ee49144 commit 0249e4a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
11 changes: 4 additions & 7 deletions packages/app/src/overlay/canvas/JoinPool/Preloader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ import { ButtonPrimary } from 'ui-buttons'
import { Head, Preload, Title } from 'ui-core/canvas'
import { useOverlay } from 'ui-overlay'
import { planckToUnitBn } from 'utils'
import { JoinPoolInterfaceWrapper } from './Wrappers'

export const Preloader = ({
performanceKey,
Expand Down Expand Up @@ -73,12 +72,10 @@ export const Preloader = ({
})}
</h3>
</Title>
<JoinPoolInterfaceWrapper style={{ flexDirection: 'column' }}>
<Preload
title={`${t('analyzingPoolPerformance', { ns: 'library' })}...`}
percentPassed={percentPassed.toString()}
/>
</JoinPoolInterfaceWrapper>
<Preload
title={`${t('analyzingPoolPerformance', { ns: 'library' })}...`}
percentPassed={percentPassed.toString()}
/>
</>
)
}
2 changes: 1 addition & 1 deletion packages/app/src/overlay/canvas/JoinPool/Wrappers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export const JoinPoolInterfaceWrapper = styled.div`
flex-flow: row wrap;
flex-grow: 1;
width: 100%;
flex-wrap: wrap;
> div {
display: flex;
&.main {
Expand Down

0 comments on commit 0249e4a

Please sign in to comment.