mirror of
https://github.com/wassname/talk.git
synced 2026-08-03 13:20:59 +08:00
cleaned up config as js instead of json file
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user