Skip to content

Commit

Permalink
Revert "feature: updates core dependencies (where feasible) (#1956)" (#…
Browse files Browse the repository at this point in the history
…1957)

This reverts commit 097df4b.
  • Loading branch information
comountainclimber authored Apr 7, 2020
1 parent 097df4b commit c0c0a57
Show file tree
Hide file tree
Showing 54 changed files with 1,014 additions and 2,176 deletions.
5 changes: 2 additions & 3 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"test": true,
"it": true
},
"plugins": ["prettier", "react", "react-hooks", "flowtype", "import"],
"plugins": ["prettier", "react", "flowtype", "import"],
"rules": {
"no-new": 0,
"no-shadow": 0,
Expand Down Expand Up @@ -74,8 +74,7 @@
"flowtype/generic-spacing": 0,
"no-param-reassign": ["warn"],
"no-restricted-syntax": ["error", "LabeledStatement", "WithStatement"],
"no-await-in-loop": 0,
"camelcase": 0
"no-await-in-loop": 0
},
"settings": {
"import/resolver": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ exports[`ConfirmModal should render without crashing 1`] = `
onRequestClose={[Function]}
parentSelector={[Function]}
portalClassName="ReactModalPortal"
role="dialog"
shouldCloseOnEsc={true}
shouldCloseOnOverlayClick={true}
shouldFocusAfterRender={true}
Expand Down Expand Up @@ -289,7 +288,6 @@ exports[`ConfirmModal should render without crashing 1`] = `
>
<div
class="ReactModal__Content ReactModal__Content--after-open"
role="dialog"
style="position: absolute; top: 40px; left: 40px; right: 40px; bottom: 40px; overflow: auto; border-radius: 4px; outline: none; padding: 0px; width: 500px; height: 200px; margin: auto; box-shadow: rgba(0, 0, 0, 0.1) 0px 0px 4px; display: flex; flex-direction: column;"
tabindex="-1"
>
Expand Down Expand Up @@ -371,7 +369,6 @@ exports[`ConfirmModal should render without crashing 1`] = `
onRequestClose={[Function]}
parentSelector={[Function]}
portalClassName="ReactModalPortal"
role="dialog"
shouldCloseOnEsc={true}
shouldCloseOnOverlayClick={true}
shouldFocusAfterRender={true}
Expand Down Expand Up @@ -592,6 +589,7 @@ exports[`ConfirmModal should render without crashing 1`] = `
className="ReactModal__Overlay ReactModal__Overlay--after-open"
onClick={[Function]}
onMouseDown={[Function]}
onMouseUp={[Function]}
style={
Object {
"--amounts-panel-asset-amount-text": "#515151",
Expand Down Expand Up @@ -705,7 +703,6 @@ exports[`ConfirmModal should render without crashing 1`] = `
onKeyDown={[Function]}
onMouseDown={[Function]}
onMouseUp={[Function]}
role="dialog"
style={
Object {
"--amounts-panel-asset-amount-text": "#515151",
Expand Down
3 changes: 1 addition & 2 deletions __tests__/components/Sidebar.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,7 @@ describe('Sidebar', () => {
expect(label.text()).toEqual(' Token Sale ')

const container = wrapper.find('#tokensale')

expect(container.length).toEqual(4)
expect(container.length).toEqual(3)
})

test('does not render the token sale navigation option when in watch only mode', () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -609,40 +609,36 @@ exports[`Sidebar renders without crashing 1`] = `
className="buttonContainer"
>
<Link
replace={false}
to="/network-configuration"
>
<LinkAnchor
<a
href="#/network-configuration"
navigate={[Function]}
onClick={[Function]}
>
<a
href="#/network-configuration"
onClick={[Function]}
<Button
primary={false}
renderIcon={[Function]}
shouldCenterButtonLabelText={true}
type="button"
>
<Button
primary={false}
renderIcon={[Function]}
shouldCenterButtonLabelText={true}
<button
className="button light"
type="button"
>
<button
className="button light"
type="button"
<span
className="icon centeredLabel dark"
>
<span
className="icon centeredLabel dark"
>
<Component>
<svg />
</Component>
</span>
<span>
Update Settings
</span>
</button>
</Button>
</a>
</LinkAnchor>
<Component>
<svg />
</Component>
</span>
<span>
Update Settings
</span>
</button>
</Button>
</a>
</Link>
</div>
</div>
Expand Down
Loading

0 comments on commit c0c0a57

Please sign in to comment.