mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-09-06 08:50:50 +08:00
feat: remove id prefix lp-
This commit is contained in:
@@ -153,7 +153,7 @@ export const AppStateProvider = ({ children }: { children?: ReactNode }) => {
|
|||||||
Promise.resolve(null)
|
Promise.resolve(null)
|
||||||
);
|
);
|
||||||
|
|
||||||
createPage.current = (pageId: string = 'lp-' + uuidv4IdGenerator()) =>
|
createPage.current = (pageId: string = uuidv4IdGenerator()) =>
|
||||||
new Promise<string | null>(resolve => {
|
new Promise<string | null>(resolve => {
|
||||||
const { currentWorkspace } = state;
|
const { currentWorkspace } = state;
|
||||||
if (!currentWorkspace) {
|
if (!currentWorkspace) {
|
||||||
|
|||||||
Reference in New Issue
Block a user