Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
alifnaufalyasin committed Oct 20, 2023
1 parent d824da6 commit 20d6bb0
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions pages/member.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,11 @@ import {
import { motion } from "framer-motion";
import CardAnggota from "../components/CardAnggota"
import { NextSeo } from "next-seo";
const member = (props) => {
const file = fs.readFile(process.cwd() + '/data/dataMember.json', 'utf8');
const dataAnggota = JSON.parse(file);
import dataAnggota from "../data/dataMember.json"

export default async function member() {
// const file = await fs.readFile(process.cwd() + '/data/dataMember.json', 'utf8');
// const dataAnggota = JSON.parse(file);
// const [dataAnggota, setDataAnggota] = React.useState(false);
const MotionBox = motion(Box)
const year = new Date().getFullYear()
Expand Down Expand Up @@ -111,5 +113,3 @@ const member = (props) => {
);
}
};

export default member;

0 comments on commit 20d6bb0

Please sign in to comment.