diff options
| author | Fuwn <[email protected]> | 2024-10-09 00:41:20 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2024-10-09 00:41:43 -0700 |
| commit | 998b63a35256ac985a5a2714dd1ca451af4dfd8a (patch) | |
| tree | 50796121a9d5ab0330fdc5d7e098bda2860d9726 /src/lib/Error/RateLimited.svelte | |
| parent | feat(graphql): add badgeCount field (diff) | |
| download | due.moe-998b63a35256ac985a5a2714dd1ca451af4dfd8a.tar.xz due.moe-998b63a35256ac985a5a2714dd1ca451af4dfd8a.zip | |
chore(prettier): use spaces instead of tabs
Diffstat (limited to 'src/lib/Error/RateLimited.svelte')
| -rw-r--r-- | src/lib/Error/RateLimited.svelte | 110 |
1 files changed, 55 insertions, 55 deletions
diff --git a/src/lib/Error/RateLimited.svelte b/src/lib/Error/RateLimited.svelte index 2360a44a..973d75d9 100644 --- a/src/lib/Error/RateLimited.svelte +++ b/src/lib/Error/RateLimited.svelte @@ -1,60 +1,60 @@ <script lang="ts"> - export let type = 'Media'; - export let loginSessionError = true; - export let contact = true; - export let list = true; - export let card = false; - export let might = true; + export let type = 'Media'; + export let loginSessionError = true; + export let contact = true; + export let list = true; + export let card = false; + export let might = true; </script> <div class:card> - {#if list} - <ul> - <li> - <p> - {type} could not be loaded. You{might ? ' might' : ''} have been rate-limited. {#if !might} - Try again in one minute. - {/if} - </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 /> - - {#if contact} - <p /> - - If the problem persists, please contact - <a href="https://anilist.co/user/fuwn" target="_blank">@fuwn</a> on AniList. - {/if} - </li> - </ul> - {:else} - <p> - {type} could not be loaded. You{might ? ' might' : ''} have been rate-limited. {#if !might} - Try again in one minute. - {/if} - </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 /> - - {#if contact} - <p /> - - If the problem persists, please contact - <a href="https://anilist.co/user/fuwn" target="_blank">@fuwn</a> on AniList. - {/if} - {/if} + {#if list} + <ul> + <li> + <p> + {type} could not be loaded. You{might ? ' might' : ''} have been rate-limited. {#if !might} + Try again in one minute. + {/if} + </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 /> + + {#if contact} + <p /> + + If the problem persists, please contact + <a href="https://anilist.co/user/fuwn" target="_blank">@fuwn</a> on AniList. + {/if} + </li> + </ul> + {:else} + <p> + {type} could not be loaded. You{might ? ' might' : ''} have been rate-limited. {#if !might} + Try again in one minute. + {/if} + </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 /> + + {#if contact} + <p /> + + If the problem persists, please contact + <a href="https://anilist.co/user/fuwn" target="_blank">@fuwn</a> on AniList. + {/if} + {/if} </div> |