Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
tino-liu committed Feb 6, 2022
1 parent 66c3f63 commit 78da230
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 5 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ node_modules

# misc
.DS_Store
.env
.env.local
.env.development.local
.env.test.local
Expand Down
5 changes: 2 additions & 3 deletions src/client.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
import { imageUrlBuilder } from "@sanity/image-url";
import sanityClient from "@sanity/client";

export default sanityClient({
dataset: process.env.NEXT_PUBLIC_SANITY_DATASET || "production",
projectId: "ovsx12m8",
dataset: process.env.SANITY_STUDIO_API_DATASET || "production",
projectId: process.env.SANITY_STUDIO_API_PROJECT_ID || "ovsx12m8",
useCdn: true,
apiVersion: "2021-08-05",
});
1 change: 0 additions & 1 deletion src/components/News.jsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import React, { useState, useEffect } from "react";
import Social from "./Social";
import client from "../client";
import Modal from "react-modal";
import PortableText from "react-portable-text";
Expand Down
1 change: 0 additions & 1 deletion src/views/HomePage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import Home from "../components/Home";
import About from "../components/About";
import Portfolio from "../components/Portfolio";
import News from "../components/News";
import SinglePost from "../components/SinglePost";

const HomePage = () => {
document.body.classList.add("dark");
Expand Down

1 comment on commit 78da230

@vercel
Copy link

@vercel vercel bot commented on 78da230 Feb 6, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.