fix linter issues
This commit is contained in:
parent
a148140489
commit
09f14eb0b8
@ -1,4 +1,4 @@
|
||||
import {React, Component} from "react";
|
||||
import {Component} from "react";
|
||||
import "../config"
|
||||
import Placeholder from "./Placeholder";
|
||||
|
||||
@ -8,8 +8,8 @@ import axios from "axios";
|
||||
|
||||
class Redirecter extends Component {
|
||||
render () {
|
||||
var parts = window.location.href.split('/')
|
||||
var linkName = parts[3]
|
||||
const parts = window.location.href.split('/')
|
||||
const linkName = parts[3]
|
||||
console.log(linkName)
|
||||
axios.get(`https://link.timka.su?link=${linkName}`).then(
|
||||
function (response) {
|
||||
|
Loading…
Reference in New Issue
Block a user