diff --git a/docs/framework-integrations/react.mdx b/docs/framework-integrations/react.mdx index de84311b50..86c4ca0b15 100644 --- a/docs/framework-integrations/react.mdx +++ b/docs/framework-integrations/react.mdx @@ -122,7 +122,7 @@ function Component() { // IMPORTANT: passing an initializer function to prevent Uppy from being reinstantiated on every render. const [uppy] = useState(() => new Uppy().use(Webcam)); - return ; + return ; } ``` @@ -180,7 +180,7 @@ function Component(props) { uppy.getPlugin('Webcam').setOptions({ modes: props.webcamModes }); }, [props.webcamModes]); - return ; + return ; } ``` diff --git a/docs/framework-integrations/svelte.mdx b/docs/framework-integrations/svelte.mdx index 4bb490b4c0..a0735f7cac 100644 --- a/docs/framework-integrations/svelte.mdx +++ b/docs/framework-integrations/svelte.mdx @@ -50,7 +50,7 @@ instance can be passed into components as an `uppy` prop. Due to the way Svelte handles reactivity, you can initialize Uppy the same way you would with vanilla JavaScript. -```html +```svelte -
+
``` [svelte]: https://svelte.dev diff --git a/docs/framework-integrations/vue.mdx b/docs/framework-integrations/vue.mdx index 4564e5d83b..2d348f8022 100644 --- a/docs/framework-integrations/vue.mdx +++ b/docs/framework-integrations/vue.mdx @@ -66,7 +66,7 @@ JavaScript. ```