mirror of
https://github.com/ChenQihan666/MyBlog-Next.git
synced 2026-08-14 07:33:07 +08:00
refactor: refactor relative import to alias
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { SITE } from "src/config";
|
||||
import { SITE } from "@config";
|
||||
|
||||
const getPageNumbers = (numberOfPosts: number) => {
|
||||
const numberOfPages = numberOfPosts / Number(SITE.postPerPage);
|
||||
|
||||
Reference in New Issue
Block a user