mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-14 00:26:51 +08:00
refactor(page): rename pageId
This commit is contained in:
@@ -6,8 +6,8 @@ export function getUserDisplayName(user?: UserInfo) {
|
||||
}
|
||||
|
||||
/**
|
||||
* Get page_id from URL
|
||||
* @returns page_id
|
||||
* Get pageId from URL
|
||||
* @returns pageId
|
||||
*/
|
||||
export function getPageId() {
|
||||
const path = window.location.pathname.match(/\/(\w+)\/(\w+)/);
|
||||
|
||||
Reference in New Issue
Block a user