fix: fix all frontend warnings (#983)

* fix:fix all frontend warnings

* fix:fix all frontend warnings

* fix:fix all frontend warnings

* fix:fix all frontend warnings

* fix:fix all frontend warnings

* fix:fix all frontend warnings
This commit is contained in:
jakiuncle
2022-08-09 12:19:56 +08:00
committed by GitHub
parent deed857788
commit 4dd67a8dcb
7 changed files with 7 additions and 7 deletions

View File

@ -16,7 +16,7 @@ import React from "react";
import * as Setting from "../Setting";
class OdicDiscoveryPage extends React.Component {
componentWillMount() {
UNSAFE_componentWillMount() {
if (Setting.isLocalhost()) {
Setting.goToLink(`${Setting.ServerUrl}/.well-known/openid-configuration`);
}