1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00

Updating Box to remove color prop default (Fixes develop) (#15613)

This commit is contained in:
George Marshall 2022-08-17 06:02:26 -07:00 committed by GitHub
parent b9c301abfd
commit 0cb6fd1202
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -185,7 +185,7 @@ export default function Box({
children,
className,
backgroundColor,
color = TEXT_COLORS.TEXT_DEFAULT,
color,
as = 'div',
...props
}) {

View File

@ -3,7 +3,7 @@
exports[`ViewOnBlockExplorer renders the component with initial props 1`] = `
<div>
<div
class="box view-on-block-explorer box--margin-top-6 box--flex-direction-row box--color-text-default"
class="box view-on-block-explorer box--margin-top-6 box--flex-direction-row"
>
<button>
View Swap at etherscan.io