From 6e4cfcaefd78bab41d607458956589e5f857f7d6 Mon Sep 17 00:00:00 2001 From: Fredrik Enestad Date: Sun, 10 Oct 2021 09:56:29 +0200 Subject: [PATCH] the UNSAFE_* lifecycle aliases where first introduced in react 16.3 --- src/views/app/components/BoardConfig.tsx | 2 +- src/views/app/components/BoardManager.tsx | 2 +- src/views/app/components/ExampleTreeView.tsx | 2 +- src/views/app/components/LibraryManager.tsx | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/views/app/components/BoardConfig.tsx b/src/views/app/components/BoardConfig.tsx index 394a00f3..372102d3 100644 --- a/src/views/app/components/BoardConfig.tsx +++ b/src/views/app/components/BoardConfig.tsx @@ -35,7 +35,7 @@ class BoardConfig extends React.Component> { this.state = {}; } - public UNSAFE_componentWillMount() { + public componentWillMount() { this.props.loadInstalledBoards(); this.props.loadConfigItems(); } diff --git a/src/views/app/components/BoardManager.tsx b/src/views/app/components/BoardManager.tsx index 03e92650..152b2b7e 100644 --- a/src/views/app/components/BoardManager.tsx +++ b/src/views/app/components/BoardManager.tsx @@ -66,7 +66,7 @@ class BoardManager extends React.Component