Skip to content

Commit b203c7d

Browse files
authored
fix-typo (#1551)
1 parent 520c35a commit b203c7d

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

web/docs/advanced/web-sockets.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ export const ChatPage = () => {
222222
223223
Wasp's **full-stack type safety** kicks in here: all the event types and payloads are automatically inferred from the server and are available on the client 🔥
224224
225-
You can additonally use the `ClientToServerPayload` and `ServerToClientPayload` helper types to get the payload type for a specific event.
225+
You can additionally use the `ClientToServerPayload` and `ServerToClientPayload` helper types to get the payload type for a specific event.
226226
227227
```tsx title=src/client/ChatPage.tsx
228228
import React, { useState } from 'react'

web/docs/introduction/what-is-wasp.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ Let's say you want to build a web app that allows users to **create and share th
5252

5353
Let's start with the main.wasp file: it is the central file of your app, where you describe the app from the high level.
5454

55-
Let's give our app a title and let's immediatelly turn on the full-stack authentication via username and password:
55+
Let's give our app a title and let's immediately turn on the full-stack authentication via username and password:
5656
```wasp title="main.wasp"
5757
app RecipeApp {
5858
title: "My Recipes",

web/docs/language/features.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ on top of it. The workflow is as follows:
198198

199199
1. Wasp developer creates/updates some of the entities in `.wasp` file.
200200
2. Wasp developer runs `wasp db migrate-dev`.
201-
3. Migration data is generated in `migrations/` folder (and should be commited).
201+
3. Migration data is generated in `migrations/` folder (and should be committed).
202202
4. Wasp developer uses Prisma JS API to work with the database when in Operations.
203203

204204
#### Using Entities in Operations
@@ -584,7 +584,7 @@ In practice, this means that Wasp keeps the queries "fresh" without requiring yo
584584

585585
On the other hand, this kind of automatic cache invalidation can become wasteful (some updates might not be necessary) and will only work for Entities. If that's an issue, you can use the mechanisms provided by _react-query_ for now, and expect more direct support in Wasp for handling those use cases in a nice, elegant way.
586586

587-
If you wish to optimistically set cache values after perfomring an action, you can do so using [optimistic updates](https://stackoverflow.com/a/33009713). Configure them using Wasp's [useAction hook](#the-useaction-hook). This is currently the only manual cache invalidation mechanism Wasps supports natively. For everything else, you can always rely on _react-query_.
587+
If you wish to optimistically set cache values after performing an action, you can do so using [optimistic updates](https://stackoverflow.com/a/33009713). Configure them using Wasp's [useAction hook](#the-useaction-hook). This is currently the only manual cache invalidation mechanism Wasps supports natively. For everything else, you can always rely on _react-query_.
588588

589589
### Prisma Error Helpers
590590
In your Operations, you may wish to handle general Prisma errors with HTTP-friendly responses. We have exposed two helper functions, `isPrismaError`, and `prismaErrorToHttpError`, for this purpose. As of now, we convert two specific Prisma errors (which we will continue to expand), with the rest being `500`. See the [source here](https://github.com/wasp-lang/wasp/blob/main/waspc/e2e-test/test-outputs/waspMigrate-golden/waspMigrate/.wasp/out/server/src/utils.js).
@@ -1622,7 +1622,7 @@ When using Social Login Providers, Wasp gives you the following options:
16221622
When a user signs in for the first time, if the `userEntity` has `username` and/or `password` fields Wasp assigns generated values to those fields by default (e.g. `username: nice-blue-horse-14357` and a strong random `password`). This is a historical coupling between auth methods that will be removed over time. If you'd like to change this behavior, these values can be overridden as described below.
16231623

16241624
:::tip Overriding Defaults
1625-
It is also posslbe to [override the default](features#overrides-for-social-login-providers) login behaviors that Wasp provides for you. This allows you to create custom setups, such as allowing Users to define a username rather than the default random username assigned by Wasp on initial Login.
1625+
It is also possible to [override the default](features#overrides-for-social-login-providers) login behaviors that Wasp provides for you. This allows you to create custom setups, such as allowing Users to define a username rather than the default random username assigned by Wasp on initial Login.
16261626
:::
16271627

16281628
#### `externalAuthEntity`
@@ -2162,7 +2162,7 @@ Since environmental variables are usually different for server-side and client a
21622162

21632163
`.env.server` and `.env.client` files have to be defined in the root of your Wasp project.
21642164

2165-
`.env.server` and `.env.client` files should not be commited to the version control - we already ignore it by default in the .gitignore file we generate when you create a new Wasp project via `wasp new` cli command.
2165+
`.env.server` and `.env.client` files should not be committed to the version control - we already ignore it by default in the .gitignore file we generate when you create a new Wasp project via `wasp new` cli command.
21662166

21672167
Variables are defined in `.env.server` or `.env.client` files in the form of `NAME=VALUE`, for example:
21682168
```

0 commit comments

Comments
 (0)