thatptr
This commit is contained in:
parent
028f513797
commit
8b2caf99e7
1 changed files with 3 additions and 2 deletions
|
@ -4,8 +4,9 @@ import { sendReview } from '../src/components/api'
|
||||||
|
|
||||||
export default function App() {
|
export default function App() {
|
||||||
const token = window.location.hash.substring(window.location.hash.indexOf("access_token") + "access_token".length + 1).substring(0, 30)
|
const token = window.location.hash.substring(window.location.hash.indexOf("access_token") + "access_token".length + 1).substring(0, 30)
|
||||||
|
console.log(token)
|
||||||
let ref!: HTMLTextAreaElement;
|
let ref!: HTMLTextAreaElement;
|
||||||
return <div class='reviewOuterparent'>
|
return token !== "" ? <div class='reviewOuterparent'>
|
||||||
<div class='reviewParent'>
|
<div class='reviewParent'>
|
||||||
<textarea
|
<textarea
|
||||||
ref={ref}
|
ref={ref}
|
||||||
|
@ -40,6 +41,6 @@ export default function App() {
|
||||||
}} class='sendButton'>send yo shi</button>
|
}} class='sendButton'>send yo shi</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div> : <div> fuckin dumbass doesnt know how to AUTHENTICATE BEFORE TRYING TO REVIEW</div>
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue