Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert "feature: updates core dependencies (where feasible)" #1957

Merged
merged 1 commit into from
Apr 7, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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