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 20d6bb0 commit 91e3bb9
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions pages/member.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,10 @@ import {
import { motion } from "framer-motion";
import CardAnggota from "../components/CardAnggota"
import { NextSeo } from "next-seo";
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 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

0 comments on commit 91e3bb9

Please sign in to comment.