forked from CringeStudios/gamja
components/app: move lastErrorID declaration down
Move it right before App, rather than drown in-between unrelated functions.
This commit is contained in:
parent
dc398baa3b
commit
fbc42b6dab
@ -143,8 +143,6 @@ function receiptFromMessage(msg) {
|
||||
return { time: msg.tags.time };
|
||||
}
|
||||
|
||||
let lastErrorID = 0;
|
||||
|
||||
function getReceipt(stored, type) {
|
||||
if (!stored || !stored.receipts) {
|
||||
return null;
|
||||
@ -170,6 +168,8 @@ function getLatestReceipt(bufferStore, server, type) {
|
||||
return last;
|
||||
}
|
||||
|
||||
let lastErrorID = 0;
|
||||
|
||||
export default class App extends Component {
|
||||
state = {
|
||||
...State.create(),
|
||||
|
Loading…
x
Reference in New Issue
Block a user