Skip to content

Commit

Permalink
comment out aave msg
Browse files Browse the repository at this point in the history
  • Loading branch information
chuckbergeron committed Nov 13, 2023
1 parent 63e0f96 commit fead250
Showing 1 changed file with 25 additions and 25 deletions.
50 changes: 25 additions & 25 deletions src/components/Layout/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ interface LayoutProps {
const Layout = (props: LayoutProps) => {
const { children, className, backgroundClassName } = props

useEffect(() => {
temporaryAlerts.forEach((alert) => {
toast(alert.content, { id: alert.id })
})
})
// useEffect(() => {
// temporaryAlerts.forEach((alert) => {
// toast(alert.content, { id: alert.id })
// })
// })

return (
<div
Expand All @@ -47,23 +47,23 @@ const Layout = (props: LayoutProps) => {

export default Layout

const temporaryAlerts: { id: string; content: ReactNode }[] = [
{
id: 'aave-issues-04-11-2023',
content: (
<span className='flex flex-col items-center text-center text-xxs'>
Aave has temporarily paused deposits and withdrawals on some assets until{' '}
<ExternalLink
href='https://app.aave.com/governance/proposal/?proposalId=358'
className='text-pt-teal transition hover:opacity-90 underline'
underline
>
proposal 358
</ExternalLink>{' '}
passes, due to a security issue. While no funds are at risk, the Optimism prize pool will be
unavailable in the meantime. Deposits will be paused for the Optimism prize pool until
further updates. No funds are at risk.{' '}
</span>
)
}
]
// const temporaryAlerts: { id: string; content: ReactNode }[] = [
// {
// id: 'aave-issues-04-11-2023',
// content: (
// <span className='flex flex-col items-center text-center text-xxs'>
// Aave has temporarily paused deposits and withdrawals on some assets until{' '}
// <ExternalLink
// href='https://app.aave.com/governance/proposal/?proposalId=358'
// className='text-pt-teal transition hover:opacity-90 underline'
// underline
// >
// proposal 358
// </ExternalLink>{' '}
// passes, due to a security issue. While no funds are at risk, the Optimism prize pool will be
// unavailable in the meantime. Deposits will be paused for the Optimism prize pool until
// further updates. No funds are at risk.{' '}
// </span>
// )
// }
// ]

0 comments on commit fead250

Please sign in to comment.