diff options
Diffstat (limited to 'src/lib/Error')
| -rw-r--r-- | src/lib/Error/RateLimited.svelte | 22 |
1 files changed, 14 insertions, 8 deletions
diff --git a/src/lib/Error/RateLimited.svelte b/src/lib/Error/RateLimited.svelte index 1861ca16..b00bbd11 100644 --- a/src/lib/Error/RateLimited.svelte +++ b/src/lib/Error/RateLimited.svelte @@ -14,18 +14,21 @@ {type} could not be loaded. You might have been <a href="https://en.wikipedia.org/wiki/Rate_limiting" target="_blank">rate limited</a>. </p> + {#if loginSessionError} <p> Your login session may have expired. Try logging out and logging back in, or try again in a few minutes. </p> {/if} + <slot /> + + <p /> + {#if contact} - <p> - If the problem persists, please contact - <a href="https://anilist.co/user/fuwn" target="_blank">@fuwn</a> on AniList. - </p> + If the problem persists, please contact + <a href="https://anilist.co/user/fuwn" target="_blank">@fuwn</a> on AniList. {/if} </li> </ul> @@ -34,18 +37,21 @@ {type} could not be loaded. You might have been <a href="https://en.wikipedia.org/wiki/Rate_limiting" target="_blank">rate limited</a>. </p> + {#if loginSessionError} <p> Your login session may have expired. Try logging out and logging back in, or try again in a few minutes. </p> {/if} + <slot /> + + <p /> + {#if contact} - <p> - If the problem persists, please contact - <a href="https://anilist.co/user/fuwn" target="_blank">@fuwn</a> on AniList. - </p> + If the problem persists, please contact + <a href="https://anilist.co/user/fuwn" target="_blank">@fuwn</a> on AniList. {/if} {/if} </div> |