linter please

This commit is contained in:
Nikita Galaiko 2023-03-16 16:06:54 +01:00
parent 910ab62881
commit f5ee199043
No known key found for this signature in database
GPG Key ID: EBAB54E845BA519D

View File

@ -12,6 +12,7 @@
if (nav.to === null) return; if (nav.to === null) return;
const to = nav.to.url.pathname; const to = nav.to.url.pathname;
if (to === history[position]) { if (to === history[position]) {
return;
} else if (to === history[position + 1]) { } else if (to === history[position + 1]) {
position++; position++;
} else if (to === history[position - 1]) { } else if (to === history[position - 1]) {