diff --git a/components/Link.js b/components/Link.js
index 185eec9..1a21c40 100644
--- a/components/Link.js
+++ b/components/Link.js
@@ -7,10 +7,10 @@ const CustomLink = ({ href, ...rest }) => {
if (isInternalLink) {
return (
-
-
-
- )
+ (
+
+ )
+ );
}
if (isAnchorLink) {
diff --git a/components/Tag.js b/components/Tag.js
index 26e7465..f26dfa0 100644
--- a/components/Tag.js
+++ b/components/Tag.js
@@ -3,12 +3,14 @@ import kebabCase from '@/lib/utils/kebabCase'
const Tag = ({ text }) => {
return (
-
-
- {text.split(' ').join('-')}
-
-
- )
+ (
+
+ {text.split(' ').join('-')}
+
+ )
+ );
}
export default Tag
diff --git a/lib/mdx.js b/lib/mdx.js
index d0bc44f..4e62b32 100644
--- a/lib/mdx.js
+++ b/lib/mdx.js
@@ -27,11 +27,11 @@ export function getFiles(type) {
const prefixPaths = path.join(root, 'data', type)
const files = getAllFilesRecursively(prefixPaths)
// Only want to return workshop/path and ignore root, replace is needed to work on Windows
- return files.map((file) => file.slice(prefixPaths.length + 1).replace(/\\/g, '/'))
+ return files.map((file) => file.slice(prefixPaths.length + 1).replace(/\\/g, '/'));
}
export function formatSlug(slug) {
- return slug.replace(/\.(mdx|md)/, '')
+ return slug.replace(/\.(mdx|md)/, '');
}
export function dateSortAsc(a, b) {