Oops.
This commit is contained in:
parent
57d03f2542
commit
677e247290
@ -1,16 +1,15 @@
|
||||
import FCard from "./faq-card";
|
||||
import { FAQS } from "../js/variables";
|
||||
|
||||
export default function FAQBlock() {
|
||||
export default function FAQBlock({ faqs }) {
|
||||
return (
|
||||
<>
|
||||
{Object.keys(FAQS).map((faq) => (
|
||||
{Object.keys(faqs).map((faq) => (
|
||||
<FCard
|
||||
key={faq}
|
||||
question={FAQS[faq].question}
|
||||
answer={FAQS[faq].answer}
|
||||
src={FAQS[faq].src}
|
||||
alt={FAQS[faq].alt}
|
||||
question={faqs[faq].question}
|
||||
answer={faqs[faq].answer}
|
||||
src={faqs[faq].src}
|
||||
alt={faqs[faq].alt}
|
||||
/>
|
||||
))}
|
||||
</>
|
||||
|
@ -23,7 +23,7 @@ export async function getStaticProps() {
|
||||
export default function FAQ({ FAQ }) {
|
||||
return (
|
||||
<BasicPage page_title="FAQ" card_title="Frequently Asked Questions!">
|
||||
<FBlock faq={FAQ} />
|
||||
<FBlock faqs={FAQ} />
|
||||
</BasicPage>
|
||||
);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user