Commit 70722b5e authored by Moody Salem's avatar Moody Salem

Temporarily disable the token warning for style fixes

parent cba76c43
......@@ -123,14 +123,17 @@ export default function TokenWarningCard({ token }: TokenWarningCardProps) {
)
}
// eslint-disable-next-line @typescript-eslint/no-unused-vars
export function TokenWarningCards({ tokens }: { tokens: { [field in Field]?: Token } }) {
return (
<div style={{ width: '100%', position: 'absolute', top: 'calc(100% + 30px)' }}>
{Object.keys(tokens).map(field => (
<div key={field} style={{ marginBottom: 10 }}>
<TokenWarningCard token={tokens[field]} />
</div>
))}
</div>
)
return null
// temporarily disabled for styling
// return (
// <div style={{ width: '100%', position: 'absolute', top: 'calc(100% + 30px)' }}>
// {Object.keys(tokens).map(field => (
// <div key={field} style={{ marginBottom: 10 }}>
// <TokenWarningCard token={tokens[field]} />
// </div>
// ))}
// </div>
// )
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment