mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-12-25 07:52:52 +03:00
Merge pull request #766 from toeverything/fix/typo-of-downhills
fix: fix the typo of downhills
This commit is contained in:
commit
8287733263
@ -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 });
|
||||||
|
@ -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.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user