fix linter issues

master
timka 2023-11-23 18:10:39 +03:00
parent a148140489
commit 09f14eb0b8
1 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
import {React, Component} from "react"; import {Component} from "react";
import "../config" import "../config"
import Placeholder from "./Placeholder"; import Placeholder from "./Placeholder";
@ -8,8 +8,8 @@ import axios from "axios";
class Redirecter extends Component { class Redirecter extends Component {
render () { render () {
var parts = window.location.href.split('/') const parts = window.location.href.split('/')
var linkName = parts[3] const linkName = parts[3]
console.log(linkName) console.log(linkName)
axios.get(`https://link.timka.su?link=${linkName}`).then( axios.get(`https://link.timka.su?link=${linkName}`).then(
function (response) { function (response) {