Skip to content

Commit

Permalink
fix(ui): cannot remove node (#15770)
Browse files Browse the repository at this point in the history
* fix: remove fragments

* chore: update react

* fix: componentWillMount errors
  • Loading branch information
121watts authored Nov 6, 2019
1 parent 72df235 commit 73d185a
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 88 deletions.
2 changes: 1 addition & 1 deletion ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@
"papaparse": "^4.6.3",
"prop-types": "^15.6.1",
"qs": "^6.5.2",
"react": "^16.8.2",
"react": "^16.11.0",
"react-codemirror2": "^4.2.1",
"react-copy-to-clipboard": "^5.0.1",
"react-datepicker": "^2.1.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,15 @@ export interface Props {
}

@ErrorHandling
class ListeningResults extends PureComponent<Props> {
class ConnectionInformation extends PureComponent<Props> {
public render() {
return (
<>
<div>
<h4 className={`wizard-step--text-state ${this.className}`}>
{this.header}
</h4>
<p>{this.additionalText}</p>
</>
</div>
)
}

Expand Down Expand Up @@ -70,4 +70,4 @@ class ListeningResults extends PureComponent<Props> {
}
}

export default ListeningResults
export default ConnectionInformation
2 changes: 1 addition & 1 deletion ui/src/shared/components/GetResources.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ class GetResources extends PureComponent<Props, StateProps> {
loading={remoteDataState}
spinnerComponent={<TechnoSpinner />}
>
<>{children}</>
{children}
</SpinnerContainer>
)
}
Expand Down
47 changes: 0 additions & 47 deletions ui/src/shared/components/KeyboardShortcuts.test.tsx

This file was deleted.

29 changes: 0 additions & 29 deletions ui/src/shared/components/KeyboardShortcuts.tsx

This file was deleted.

2 changes: 1 addition & 1 deletion ui/src/shared/components/search_widget/SearchWidget.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ class SearchWidget extends Component<Props, State> {
}
}

public componentWillMount() {
public UNSAFE_componentWillMount() {
this.handleSearch = _.debounce(this.handleSearch, 50)
}

Expand Down
9 changes: 4 additions & 5 deletions ui/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -9633,15 +9633,14 @@ react-virtualized@^9.18.5:
prop-types "^15.6.0"
react-lifecycles-compat "^3.0.4"

react@^16.8.2:
version "16.8.2"
resolved "https://registry.yarnpkg.com/react/-/react-16.8.2.tgz#83064596feaa98d9c2857c4deae1848b542c9c0c"
integrity sha512-aB2ctx9uQ9vo09HVknqv3DGRpI7OIGJhCx3Bt0QqoRluEjHSaObJl+nG12GDdYH6sTgE7YiPJ6ZUyMx9kICdXw==
react@^16.11.0:
version "16.11.0"
resolved "https://registry.yarnpkg.com/react/-/react-16.11.0.tgz#d294545fe62299ccee83363599bf904e4a07fdbb"
integrity sha512-M5Y8yITaLmU0ynd0r1Yvfq98Rmll6q8AxaEe88c8e7LxO8fZ2cNgmFt0aGAS9wzf1Ao32NKXtCl+/tVVtkxq6g==
dependencies:
loose-envify "^1.1.0"
object-assign "^4.1.1"
prop-types "^15.6.2"
scheduler "^0.13.2"

read-pkg-up@^4.0.0:
version "4.0.0"
Expand Down

0 comments on commit 73d185a

Please sign in to comment.