Skip to content

Commit

Permalink
Merge branch 'master' into maintenance-revert
Browse files Browse the repository at this point in the history
  • Loading branch information
0xalecks committed Oct 20, 2023
2 parents aaa8512 + 5c9779d commit bee1c22
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 12 deletions.
4 changes: 2 additions & 2 deletions projects/ui/src/components/Nav/Banner.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,17 @@ import { FC } from '~/types';
const sx = {
color: '#333',
fontSize: FontSize.sm,
overflow: 'hidden',
display: 'flex',
flexDirection: 'row',
alignItems: 'center',
justifyContent: 'center',
width: '100%',
backgroundColor: 'white',
padding: '2px',
};

const Banner: FC<
LinkProps & { height: number } & { to?: string } // fixme
LinkProps & { height?: number } & { to?: string } // fixme
> = ({ height, children, to, ...props }) =>
to ? (
<Link
Expand Down
12 changes: 2 additions & 10 deletions projects/ui/src/hooks/app/useBanner.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,9 @@ const useBanner = () => {

return useMemo(() => {
return (
<Banner height={BANNER_HEIGHT}>
<Banner>
BIP-38 Unripe liquidity migration is in process. Quotes will be affected
until the migration is complete. See&nbsp;
<a
href="https://discord.gg/beanstalk"
target="_blank"
rel="noopener noreferrer"
>
Discord
</a>
&nbsp;for more information.
until the migration is complete. See Discord for more information.
</Banner>
);

Expand Down

0 comments on commit bee1c22

Please sign in to comment.