You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: website/docs/tutorials/javascript.md
+4Lines changed: 4 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -84,6 +84,10 @@ select(gender, {
84
84
});
85
85
```
86
86
87
+
:::caution
88
+
All Core Macros cannot be used at the module level. They must be used within a component or function. See the [Macros](/ref/macro#using-macros) documentation for more information.
Copy file name to clipboardExpand all lines: website/docs/tutorials/react.md
+4Lines changed: 4 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -645,6 +645,10 @@ export default function ImageWithCaption() {
645
645
646
646
:::
647
647
648
+
:::caution
649
+
All Core Macros cannot be used at the module level. They must be used within a component or function. See the [Macros](/ref/macro#using-macros) documentation for more information.
650
+
:::
651
+
648
652
## Review
649
653
650
654
After all modifications, the final i18n-ready component looks like this:
0 commit comments