Skip to content

Commit a975566

Browse files
ci: apply automated fixes
1 parent 5dfe7e0 commit a975566

File tree

4 files changed

+15
-6
lines changed

4 files changed

+15
-6
lines changed

src/routes/reference/components/create-dynamic.mdx

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,12 @@ Returns the rendered component or element.
6565
import { createSignal } from "solid-js";
6666

6767
const views = {
68-
red: (props: { label: string }) => <p style={{ color: "red" }}>{props.label}</p>,
69-
blue: (props: { label: string }) => <p style={{ color: "blue" }}>{props.label}</p>,
68+
red: (props: { label: string }) => (
69+
<p style={{ color: "red" }}>{props.label}</p>
70+
),
71+
blue: (props: { label: string }) => (
72+
<p style={{ color: "blue" }}>{props.label}</p>
73+
),
7074
};
7175

7276
function App() {

src/routes/reference/components/dynamic.mdx

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,12 @@ Returns the rendered component or element.
6969
import { createSignal } from "solid-js";
7070

7171
const views = {
72-
red: (props: { label: string }) => <p style={{ color: "red" }}>{props.label}</p>,
73-
blue: (props: { label: string }) => <p style={{ color: "blue" }}>{props.label}</p>,
72+
red: (props: { label: string }) => (
73+
<p style={{ color: "red" }}>{props.label}</p>
74+
),
75+
blue: (props: { label: string }) => (
76+
<p style={{ color: "blue" }}>{props.label}</p>
77+
),
7478
};
7579

7680
function App() {

src/routes/reference/components/suspense.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ Returns the rendered subtree or `fallback` content depending on pending tracked
6666
```tsx
6767
<Suspense fallback={<LoadingSpinner />}>
6868
<AsyncComponent />
69-
</Suspense>;
69+
</Suspense>
7070
```
7171

7272
### Nested suspense
@@ -77,7 +77,7 @@ Returns the rendered subtree or `fallback` content depending on pending tracked
7777
<Suspense fallback={<div>Loading details</div>}>
7878
<DataComponent>{data()}</DataComponent>
7979
</Suspense>
80-
</Suspense>;
80+
</Suspense>
8181
```
8282

8383
## Related

src/routes/reference/jsx-attributes/use.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,4 +69,5 @@ declare module "solid-js" {
6969
}
7070
}
7171
```
72+
7273
:::

0 commit comments

Comments
 (0)