fix: Correct how faq module is exported

This commit is contained in:
Blade Barringer
2016-03-08 11:58:43 -06:00
parent 76799eee05
commit 155cd6c626

View File

@@ -2,7 +2,13 @@ import t from './translation';
const NUMBER_OF_QUESTIONS = 12; const NUMBER_OF_QUESTIONS = 12;
export const questions = []; let faq = {
questions: [],
stillNeedHelp: {
ios: t('iosFaqStillNeedHelp'),
web: t('webFaqStillNeedHelp'),
},
};
for (let i = 0; i <= NUMBER_OF_QUESTIONS; i++) { for (let i = 0; i <= NUMBER_OF_QUESTIONS; i++) {
let question = { let question = {
@@ -11,10 +17,7 @@ for (let i = 0; i <= NUMBER_OF_QUESTIONS; i++) {
web: t(`webFaqAnswer${i}`), web: t(`webFaqAnswer${i}`),
}; };
questions.push(question); faq.questions.push(question);
} }
export const stillNeedHelp = { module.exports = faq;
ios: t('iosFaqStillNeedHelp'),
web: t('webFaqStillNeedHelp'),
};