From cbd38b32f7a1cc38964e898991b8767d3a05506c Mon Sep 17 00:00:00 2001
From: Akshar Patel <123344143+AksharP5@users.noreply.github.com>
Date: Thu, 13 Aug 2026 00:38:47 -0400
Subject: [PATCH] fix(catalog): restore the caption texture preview (#3258)
---
docs/public/catalog/components/caption-texture.json | 2 +-
registry/components/caption-texture/demo.html | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/docs/public/catalog/components/caption-texture.json b/docs/public/catalog/components/caption-texture.json
index 0ea90d319..c68103dfc 100644
--- a/docs/public/catalog/components/caption-texture.json
+++ b/docs/public/catalog/components/caption-texture.json
@@ -1 +1 @@
-{"html":"\n\n
\n \n \n Texture\n \n \n \n \n \n \n \n \n\n \n \n\n"}
\ No newline at end of file
+{"html":"\n\n \n \n \n Texture\n \n \n \n \n \n \n \n \n\n \n \n\n"}
\ No newline at end of file
diff --git a/registry/components/caption-texture/demo.html b/registry/components/caption-texture/demo.html
index 60e73207a..1ab684744 100644
--- a/registry/components/caption-texture/demo.html
+++ b/registry/components/caption-texture/demo.html
@@ -109,7 +109,7 @@
? window.__hyperframes.getVariables()
: {};
var TEXTURE = vars.texture || "lava";
- var TEXTURE_URL = "compositions/components/" + TEXTURE + ".png";
+ var TEXTURE_URL = TEXTURE + ".png";
var _fitCanvas = document.createElement("canvas");
var _fitCtx = _fitCanvas.getContext("2d");