From d546f9dbaa9315a380a94b92a22e113658f401c2 Mon Sep 17 00:00:00 2001 From: prototypa Date: Tue, 22 Nov 2022 12:49:17 -0500 Subject: [PATCH] Add getRelativeLink --- src/utils/permalinks.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/permalinks.js b/src/utils/permalinks.js index 97aaaae..a2fa936 100644 --- a/src/utils/permalinks.js +++ b/src/utils/permalinks.js @@ -55,7 +55,7 @@ export const getHomePermalink = () => { }; /** */ -export const getRelativelink = (link = "") => { +export const getRelativeLink = (link = "") => { return createPath(basePathname, trimSlash(link)); }