@weaverse/hydrogen 5.10.0 → 5.10.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -83,7 +83,11 @@ function ThemeTextProvider({
83
83
  }
84
84
  function useThemeText() {
85
85
  const ctx = useContext(ThemeTextContext);
86
- if (!ctx) throw new Error("useThemeText must be used within <ThemeTextProvider>. Wrap your app with withWeaverse().");
86
+ if (!ctx) {
87
+ throw new Error(
88
+ "useThemeText must be used within <ThemeTextProvider>. Wrap your app with withWeaverse()."
89
+ );
90
+ }
87
91
  return ctx;
88
92
  }
89
93
  function createFlatDataContext(matches) {