适配NextJs13语法

This commit is contained in:
tangly1024
2023-01-01 19:42:37 +08:00
parent b361f7fa0c
commit 6bb5571655
110 changed files with 2494 additions and 2057 deletions

View File

@@ -106,7 +106,7 @@ const NotionPage = ({ post }) => {
*/
const mapPageUrl = id => {
// return 'https://www.notion.so/' + id.replace(/-/g, '')
return '/' + id.replace(/-/g, '')
return '/' + id.replace(/-/g, '');
}
function getMediumZoomMargin() {