diff options
| author | Fuwn <[email protected]> | 2024-01-04 23:28:59 -0800 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2024-01-04 23:28:59 -0800 |
| commit | 8d50e8c20158d42ae1fca7705b936ea852836fa7 (patch) | |
| tree | 07e3c6d43396d1d84fccb93c14084d1fa412bd20 /src/lib/Error | |
| parent | refactor(wrapped): refresh button style (diff) | |
| download | due.moe-8d50e8c20158d42ae1fca7705b936ea852836fa7.tar.xz due.moe-8d50e8c20158d42ae1fca7705b936ea852836fa7.zip | |
fix(error): no padding
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> |