mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2025-02-04 15:43:14 +08:00
Lint Code [skip actions]
This commit is contained in:
parent
18c143e12f
commit
d348146928
@ -23,7 +23,7 @@ class App extends React.Component<{}, IState> {
|
|||||||
// Check if the window's href is a page.
|
// Check if the window's href is a page.
|
||||||
let targetPage = null;
|
let targetPage = null;
|
||||||
const page = window.location.href.split("/").pop();
|
const page = window.location.href.split("/").pop();
|
||||||
console.log(page)
|
console.log(page);
|
||||||
|
|
||||||
if (page != undefined && page != "") {
|
if (page != undefined && page != "") {
|
||||||
// Convert the page to a Page type.
|
// Convert the page to a Page type.
|
||||||
|
Loading…
Reference in New Issue
Block a user