Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit e99aca9

Browse files
Merge remote-tracking branch 'origin/master'
2 parents a472ea7 + 87b0e45 commit e99aca9

File tree

5 files changed

+20
-6
lines changed

5 files changed

+20
-6
lines changed

‎src/components/Admonition.module.css‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,11 @@
1919
}
2020

2121
.admonitionIcon svg {
22+
stroke: var(--color-black);
23+
fill: var(--color-black);
24+
}
25+
26+
:global(.dark) .admonitionIcon svg {
2227
stroke: rgb(253, 253, 254);
2328
fill: rgb(253, 253, 254);
2429
}

‎src/content/docs/createFormControl.mdx‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,6 @@ This function create the entire form state subscription and allow you to subscri
3636
```tsx
3737
const props = createFormControl()
3838

39-
{" "}
40-
4139
<FormProvider {...props} /> // ❌ You don't need provider
4240

4341
<input {...props.register('name')} /> // ✅ Direct use method from createFormControl

‎src/data/api.tsx‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2069,8 +2069,7 @@ setValue('notRegisteredInput', { test: '1', test2: '2' }); // ✅ sugar syntax t
20692069
</Link>
20702070
<p>
20712071
<b className={typographyStyles.note}>Important: </b>This
2072-
is only applicable to <strong>built-in</strong> validation
2073-
only.
2072+
is only applicable to <strong>built-in</strong> validation.
20742073
</p>
20752074
</p>
20762075
</td>

‎src/pages/404.module.css‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
.container {
2+
padding: 2rem;
3+
}
4+
5+
.root {
6+
text-align: center;
7+
}

‎src/pages/404.tsx‎

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,16 @@
11
import Layout from "../components/layout"
22
import Seo from "../components/seo"
3+
import styles from "./404.module.css"
34

45
const NotFoundPage = () => (
56
<Layout>
67
<Seo title="404: Not found" />
7-
<h1>NOT FOUND</h1>
8-
<p>You just found a route that doesn&#39;t exist... the sadness.</p>
8+
<div className={styles.container}>
9+
<main className={styles.root}>
10+
<h1>NOT FOUND</h1>
11+
<p>You just found a route that doesn&#39;t exist... the sadness.</p>
12+
</main>
13+
</div>
914
</Layout>
1015
)
1116

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /