From fe261388a3f0a1dbc146ccf5f3f189b25e4f483b Mon Sep 17 00:00:00 2001 From: tzhangchi Date: Wed, 1 Feb 2023 22:03:37 +0800 Subject: [PATCH] fix: fix the typo of downhills --- packages/app/src/components/editor/index.tsx | 4 ++-- ...Alpha-Downhill.md => Welcome-to-AFFiNE-Alpha-Downhills.md} | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) rename packages/app/src/templates/{Welcome-to-AFFiNE-Alpha-Downhill.md => Welcome-to-AFFiNE-Alpha-Downhills.md} (97%) diff --git a/packages/app/src/components/editor/index.tsx b/packages/app/src/components/editor/index.tsx index b6cc8aa076..eff0dc21aa 100644 --- a/packages/app/src/components/editor/index.tsx +++ b/packages/app/src/components/editor/index.tsx @@ -2,7 +2,7 @@ import { useEffect, useRef } from 'react'; import type { Page, Workspace } from '@blocksuite/store'; import '@blocksuite/blocks'; import { EditorContainer } from '@blocksuite/editor'; -import exampleMarkdown from '@/templates/Welcome-to-AFFiNE-Alpha-Downhill.md'; +import exampleMarkdown from '@/templates/Welcome-to-AFFiNE-Alpha-Downhills.md'; import { styled } from '@/styles'; const StyledEditorContainer = styled('div')(() => { @@ -39,7 +39,7 @@ export const Editor = ({ page, workspace, setEditor }: Props) => { const title = metaTitle ? metaTitle : isFirstPage - ? 'Welcome to AFFiNE Alpha "Downhill"' + ? 'Welcome to AFFiNE Alpha "Downhills"' : ''; workspace?.setPageMeta(page.id, { title }); const pageBlockId = page.addBlockByFlavour('affine:page', { title }); diff --git a/packages/app/src/templates/Welcome-to-AFFiNE-Alpha-Downhill.md b/packages/app/src/templates/Welcome-to-AFFiNE-Alpha-Downhills.md similarity index 97% rename from packages/app/src/templates/Welcome-to-AFFiNE-Alpha-Downhill.md rename to packages/app/src/templates/Welcome-to-AFFiNE-Alpha-Downhills.md index 41dca80200..c8ca8ce36e 100644 --- a/packages/app/src/templates/Welcome-to-AFFiNE-Alpha-Downhill.md +++ b/packages/app/src/templates/Welcome-to-AFFiNE-Alpha-Downhills.md @@ -4,7 +4,7 @@ If you are looking for **support**, would like to **suggest** your ideas, and ke Let us know what you think of this latest version. -**AFFiNE Alpha Downhill brings:** +**AFFiNE Alpha Downhills brings:** We are mainly working on features for pathfinder.