Skip to content

Commit

Permalink
fix: 🐛 maintainable fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Loonz206 committed Oct 5, 2024
1 parent 8ec6bce commit 1af4f46
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
2 changes: 0 additions & 2 deletions src/styles/typography.scss
Original file line number Diff line number Diff line change
Expand Up @@ -112,9 +112,7 @@ a {
color: white;
background-color: $darkPrimaryColor;
}
}

a {
img {
border-bottom: none;
}
Expand Down
7 changes: 2 additions & 5 deletions src/utils/contentfulPosts.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,9 @@ import {
Entry,
} from "contentful";

const space = process.env.NEXT_PUBLIC_CONTENTFUL_SPACE_ID || "";
const accessToken = process.env.NEXT_PUBLIC_CONTENTFUL_ACCESS_TOKEN || "";

const client = createClient({
space,
accessToken,
space: process.env.CONTENTFUL_SPACE_ID ?? "",
accessToken: process.env.CONTENTFUL_ACCESS_TOKEN ?? "",
});

export async function getAllPosts(name: string) {
Expand Down

0 comments on commit 1af4f46

Please sign in to comment.