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