Skip to content

Commit

Permalink
fix: issue with BaseBanner tile
Browse files Browse the repository at this point in the history
  • Loading branch information
iamgraeme committed Jan 27, 2025
1 parent 521073d commit fb4ad65
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions lib/components/atoms/BaseBanner/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import { MAX_WIDTH } from '../../../constants';
import { useWllSdk } from '../../../context/WllSdkContext';
import { useHandleTilePress } from '../../../hooks/useHandleTilePress';
import { BannerTileConfig, Tile } from '../../../types/tile';
import { Row } from '../Primatives';

const BannerContext = createContext<Tile | null>(null);

Expand Down Expand Up @@ -62,9 +61,7 @@ const BaseBanner: React.FC<BaseBannerProps> = ({
`${title}${!hasCTA && ctaLink ? ' - Click to open' : ''}`
}
>
<Row align="center" justify="start">
{children}
</Row>
{children}
</Pressable>
</BannerContext.Provider>
);
Expand Down

0 comments on commit fb4ad65

Please sign in to comment.