From 5813b2bbec0c84cba039c6aa92319aa55f77fc05 Mon Sep 17 00:00:00 2001 From: dannykng Date: Wed, 2 Nov 2022 11:48:15 -0700 Subject: [PATCH] Fix typos --- apps/temp-docs/generator/legacy.ts | 4 ++-- .../_blog/2022-06-30-flutter-tutorial-building-a-chat-app.mdx | 2 +- spec/realtime_v0_config.yaml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/temp-docs/generator/legacy.ts b/apps/temp-docs/generator/legacy.ts index e3d6130be4f..451177f92ad 100644 --- a/apps/temp-docs/generator/legacy.ts +++ b/apps/temp-docs/generator/legacy.ts @@ -44,7 +44,7 @@ export default async function gen(inputFileName: string, outputDir: string) { if (hasTsRef && !tsDefinition) throw new Error('Definition not found: ' + hasTsRef) const description = - pageSpec.description || tsDocCommentToMdComment(getDescriptionFromDefintion(tsDefinition)) + pageSpec.description || tsDocCommentToMdComment(getDescriptionFromDefinition(tsDefinition)) // Create page const content = Page({ @@ -86,7 +86,7 @@ function generateParameters(tsDefinition: any) { return methodListGroup(parameters) } -function getDescriptionFromDefintion(tsDefinition) { +function getDescriptionFromDefinition(tsDefinition) { if (!tsDefinition) return null if (['Method', 'Constructor', 'Constructor signature'].includes(tsDefinition.kindString)) return tsDefinition?.signatures[0].comment diff --git a/apps/www/_blog/2022-06-30-flutter-tutorial-building-a-chat-app.mdx b/apps/www/_blog/2022-06-30-flutter-tutorial-building-a-chat-app.mdx index 4b965fb176b..637e6ee051b 100644 --- a/apps/www/_blog/2022-06-30-flutter-tutorial-building-a-chat-app.mdx +++ b/apps/www/_blog/2022-06-30-flutter-tutorial-building-a-chat-app.mdx @@ -152,7 +152,7 @@ const formSpacer = SizedBox(width: 16, height: 16); const formPadding = EdgeInsets.symmetric(vertical: 20, horizontal: 16); /// Error message to display the user when unexpected error occurs. -const unexpectedErrorMessage = 'Unexpected error occured.'; +const unexpectedErrorMessage = 'Unexpected error occurred.'; /// Basic theme to change the look and feel of the app final appTheme = ThemeData.light().copyWith( diff --git a/spec/realtime_v0_config.yaml b/spec/realtime_v0_config.yaml index 38e6cabd384..caec3e6a4b1 100644 --- a/spec/realtime_v0_config.yaml +++ b/spec/realtime_v0_config.yaml @@ -108,7 +108,7 @@ parameters: required: true default: 'realtime_rls' description: | - A unique name for Postgres to track the Write-Ahead Logging (WAL). If the Realtime server dies then this slot can keep the changes since the last commited position. + A unique name for Postgres to track the Write-Ahead Logging (WAL). If the Realtime server dies then this slot can keep the changes since the last committed position. - id: 'TEMPORARY_SLOT' # {string} A unique identifier for this param. title: 'TEMPORARY_SLOT' # {string} Any name.