Skip to content

Commit

Permalink
Fix lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
tananaev committed Sep 4, 2023
1 parent 9a59d65 commit 45cbd46
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions modern/src/common/util/formatter.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import dayjs from 'dayjs';
import 'dayjs/plugin/duration';
import duration from 'dayjs/plugin/duration';
import relativeTime from 'dayjs/plugin/relativeTime';

Expand All @@ -15,8 +14,8 @@ import {
} from './converter';
import { prefixString } from './stringUtils';

dayjs.extend(duration)
dayjs.extend(relativeTime)
dayjs.extend(duration);
dayjs.extend(relativeTime);

export const formatBoolean = (value, t) => (value ? t('sharedYes') : t('sharedNo'));

Expand Down

0 comments on commit 45cbd46

Please sign in to comment.