mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2025-12-17 17:34:39 +01:00
Lint Code [skip actions]
This commit is contained in:
@@ -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.
|
||||||
|
|||||||
Reference in New Issue
Block a user