fix linter issues
parent
a148140489
commit
09f14eb0b8
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue