Merge pull request #766 from toeverything/fix/typo-of-downhills

fix: fix the typo of downhills
This commit is contained in:
Chi Zhang 2023-02-01 22:48:02 +08:00 committed by GitHub
commit 8287733263
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -2,7 +2,7 @@ import { useEffect, useRef } from 'react';
import type { Page, Workspace } from '@blocksuite/store'; import type { Page, Workspace } from '@blocksuite/store';
import '@blocksuite/blocks'; import '@blocksuite/blocks';
import { EditorContainer } from '@blocksuite/editor'; 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'; import { styled } from '@/styles';
const StyledEditorContainer = styled('div')(() => { const StyledEditorContainer = styled('div')(() => {
@ -39,7 +39,7 @@ export const Editor = ({ page, workspace, setEditor }: Props) => {
const title = metaTitle const title = metaTitle
? metaTitle ? metaTitle
: isFirstPage : isFirstPage
? 'Welcome to AFFiNE Alpha "Downhill"' ? 'Welcome to AFFiNE Alpha "Downhills"'
: ''; : '';
workspace?.setPageMeta(page.id, { title }); workspace?.setPageMeta(page.id, { title });
const pageBlockId = page.addBlockByFlavour('affine:page', { title }); const pageBlockId = page.addBlockByFlavour('affine:page', { title });

View File

@ -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. 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. We are mainly working on features for pathfinder.