summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar tony-sull <tony-sull@users.noreply.github.com> 2022-09-01 21:26:15 +0000
committerGravatar fredkbot <fred+astrobot@astro.build> 2022-09-01 21:26:15 +0000
commitc62257f0b03e35520448fbfac1f4b507f54ef170 (patch)
tree26ef5fbf40ac6fab982b7a765791323da4322b9d
parent72c760e9b8e70dc4c8d4cc08f453d58a8928a0ee (diff)
downloadastro-c62257f0b03e35520448fbfac1f4b507f54ef170.tar.gz
astro-c62257f0b03e35520448fbfac1f4b507f54ef170.tar.zst
astro-c62257f0b03e35520448fbfac1f4b507f54ef170.zip
[ci] format
-rw-r--r--packages/integrations/image/components/index.ts4
1 files changed, 3 insertions, 1 deletions
diff --git a/packages/integrations/image/components/index.ts b/packages/integrations/image/components/index.ts
index 6a8f420ad..e60494398 100644
--- a/packages/integrations/image/components/index.ts
+++ b/packages/integrations/image/components/index.ts
@@ -15,7 +15,9 @@ export type HTMLAttributes = Omit<
let altWarningShown = false;
export function warnForMissingAlt() {
- if (altWarningShown === true) { return }
+ if (altWarningShown === true) {
+ return;
+ }
altWarningShown = true;