summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;