Skip to content

Commit 9e981c5

Browse files
authored
chore: Rename files and imports for casing (#5)
1 parent 2904e59 commit 9e981c5

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

pages/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
import Link from "next/link";
2-
import { getPosts } from "../utils/mdxUtils";
2+
import { getPosts } from "../utils/mdx-utils";
33

44
import Footer from "../components/Footer";
55
import Header from "../components/Header";
66
import Layout, { GradientBackground } from "../components/Layout";
77
import ArrowIcon from "../components/ArrowIcon";
8-
import { getGlobalData } from "../utils/globalData";
8+
import { getGlobalData } from "../utils/global-data";
99
import SEO from "../components/SEO";
1010

1111
export default function Index({ posts, globalData }) {

pages/posts/[slug].js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
import { getGlobalData } from "../../utils/globalData";
1+
import { getGlobalData } from "../../utils/global-data";
22
import {
33
getNextPostBySlug,
44
getPostBySlug,
55
getPreviousPostBySlug,
66
postFilePaths,
7-
} from "../../utils/mdxUtils";
7+
} from "../../utils/mdx-utils";
88

99
import { MDXRemote } from "next-mdx-remote";
1010
import Head from "next/head";
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)