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

feature/default_network_editable
George Marshall 2 years ago committed by GitHub
parent b9c301abfd
commit 0cb6fd1202
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      ui/components/ui/box/box.js
  2. 2
      ui/pages/swaps/view-on-block-explorer/__snapshots__/view-on-block-explorer.test.js.snap

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

@ -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

Loading…
Cancel
Save