mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2024-12-26 19:15:25 +03:00
linter please
This commit is contained in:
parent
910ab62881
commit
f5ee199043
@ -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]) {
|
||||||
|
Loading…
Reference in New Issue
Block a user