Skip to content

Commit fcd366f

Browse files
committed
docs: adds correction to README
1 parent 09314cc commit fcd366f

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

README.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,10 +65,7 @@ import { Switch, Match } from "solid-js";
6565
import { createScript } from "@dschz/solid-create-script";
6666

6767
const CustomComponent = () => {
68-
const script = createScript({
69-
src: "https://example.com/widget.js",
70-
options: { async: true }
71-
});
68+
const script = createScript("https://example.com/widget.js", { async: true });
7269

7370
return (
7471
<Switch>

0 commit comments

Comments
 (0)