bugfixing endless loop
This commit is contained in:
parent
3f9c2deed3
commit
79eecc4f7d
@ -379,7 +379,11 @@
|
|||||||
<div
|
<div
|
||||||
class="flex-1 flex-shrink-0 flex flex-row items-center justify-between -mt-2"
|
class="flex-1 flex-shrink-0 flex flex-row items-center justify-between -mt-2"
|
||||||
>
|
>
|
||||||
<a href={$previousPage || "/"} class="ml-2 cursor-pointer">
|
<a
|
||||||
|
href={/^\/(stocks|etf)/.test($previousPage)
|
||||||
|
? "/"
|
||||||
|
: $previousPage || "/"}
|
||||||
|
>
|
||||||
<svg
|
<svg
|
||||||
class="w-5 h-5 inline-block"
|
class="w-5 h-5 inline-block"
|
||||||
xmlns="http://www.w3.org/2000/svg"
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
|
|||||||
@ -388,7 +388,11 @@
|
|||||||
<div
|
<div
|
||||||
class="flex-1 flex-shrink-0 flex flex-row items-center justify-between -mt-2"
|
class="flex-1 flex-shrink-0 flex flex-row items-center justify-between -mt-2"
|
||||||
>
|
>
|
||||||
<a href={$previousPage || "/"} class="ml-2 cursor-pointer">
|
<a
|
||||||
|
href={/^\/(stocks|etf)/.test($previousPage)
|
||||||
|
? "/"
|
||||||
|
: $previousPage || "/"}
|
||||||
|
>
|
||||||
<svg
|
<svg
|
||||||
class="w-5 h-5 inline-block"
|
class="w-5 h-5 inline-block"
|
||||||
xmlns="http://www.w3.org/2000/svg"
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user