amy when she remembers she can just redirect people instead of being rude
This commit is contained in:
parent
4f51d23416
commit
69e659723e
1 changed files with 5 additions and 2 deletions
|
@ -5,8 +5,11 @@ import { sendReview } from '../src/components/api'
|
|||
export default function App() {
|
||||
const token = window.location.hash.substring(window.location.hash.indexOf("access_token") + "access_token".length + 1).substring(0, 30)
|
||||
console.log(token)
|
||||
if (token === "") {
|
||||
window.location.hash = "https://discord.com/oauth2/authorize?client_id=1208380910525743134&response_type=token&redirect_uri=https%3A%2F%2Fexhq.dev%2Freview%2F&scope=identify"
|
||||
}
|
||||
let ref!: HTMLTextAreaElement;
|
||||
return token !== "" ? <div class='reviewOuterparent'>
|
||||
return <div class='reviewOuterparent'>
|
||||
<div class='reviewParent'>
|
||||
<img src="../fjonkie.png" alt="" />
|
||||
<span>(it doesnt)</span>
|
||||
|
@ -43,6 +46,6 @@ export default function App() {
|
|||
}} class='sendButton'>send yo shi</button>
|
||||
</div>
|
||||
</div>
|
||||
</div> : <div> fuckin dumbass doesnt know how to AUTHENTICATE BEFORE TRYING TO REVIEW</div>
|
||||
</div>
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue