Skip to content

Commit d95b80d

Browse files
authored
docs: minor fixes to copy and snippets (#1790)
1 parent f1c2b91 commit d95b80d

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

docs/src/content/docs/basics/dependency-injection.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ But if we change the order of the providers it will not work:
282282
```dart
283283
Handler middleware(Handler handler) {
284284
return handler
285-
// This won't work because Dart Frog is bottom top
285+
// This won't work because Dart Frog resolves from bottom to top
286286
.use(wheelMiddlewareProvider())
287287
.use(carMiddlewareProvider())
288288
}

docs/src/content/docs/basics/environment.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ configured with different environments.
1818
```dart
1919
Handler middleware(Handler handler) {
2020
return handler
21-
.use(provider<CardsRepository>((_) {
21+
.use(provider<DatabaseClient>((_) {
2222
return DatabaseClient(
2323
dbUrl: Platform.environment['DB_URL'],
2424
dbUser: Platform.environment['DB_USER'],

docs/src/content/docs/blog/future-of-dart-frog.mdx

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -75,18 +75,18 @@ worked on Dart Frog since its inception in April 2022:
7575
src="https://avatars.githubusercontent.com/u/15887627?v=4"
7676
/>
7777
</a>
78-
<a href="https://github.com/renancaraujo" aria-label="About Renan">
78+
<a href="https://github.com/marcossevilla" aria-label="About Marcos">
7979
<img
80-
alt="Renan Profile Picture"
80+
alt="Marcos Profile Picture"
8181
class="rounded-full"
82-
src="https://avatars.githubusercontent.com/u/6718144?v=4"
82+
src="https://avatars.githubusercontent.com/u/31174242?v=4"
8383
/>
8484
</a>
85-
<a href="https://github.com/marcossevilla" aria-label="About Marcos">
85+
<a href="https://github.com/renancaraujo" aria-label="About Renan">
8686
<img
87-
alt="Marcos Profile Picture"
87+
alt="Renan Profile Picture"
8888
class="rounded-full"
89-
src="https://avatars.githubusercontent.com/u/31174242?v=4"
89+
src="https://avatars.githubusercontent.com/u/6718144?v=4"
9090
/>
9191
</a>
9292
</div>
@@ -130,7 +130,7 @@ as part of that meeting. Some of the work we have planned includes:
130130

131131
## How can you help?
132132

133-
- 💬 Come join the community on [Discord](https://discord.gg/dart-frog)
133+
- 💬 Come join the community on [Discord](https://discord.gg/dart-frog).
134134
- 🙋
135135
[Open an issue](https://github.com/dart-frog-dev/dart_frog/issues/new/choose)
136136
if you encounter a bug or would like a new feature added.

0 commit comments

Comments
 (0)