cleaned up config as js instead of json file

This commit is contained in:
Wyatt Johnson
2018-05-03 11:40:55 -06:00
parent 20c5804559
commit df29e610b3
6 changed files with 8 additions and 8 deletions
@@ -4,7 +4,7 @@ import { t } from 'plugin-api/beta/client/services';
import { Button } from 'plugin-api/beta/client/components/ui';
import styles from './DownloadCommentHistory.css';
import { getErrorMessages } from 'coral-framework/utils';
import { downloadRateLimitDays } from '../../config.json';
import { downloadRateLimitDays } from '../../config';
export const readableDuration = durAsHours => {
const durAsDays = Math.ceil(durAsHours / 24);