1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-25 04:46:40 +07:00

(nextjs) added eslint and import sorting

This commit is contained in:
Fedor Katurov 2022-01-19 12:30:04 +07:00
parent e5f8d5a551
commit 0838bf7ee6
330 changed files with 1576 additions and 896 deletions

View file

@ -1,10 +1,12 @@
import { useCallback, useEffect } from 'react';
import isBefore from 'date-fns/isBefore';
import { IComment } from '~/types';
import { useRandomPhrase } from '~/constants/phrases';
import { useBorisStats } from '~/hooks/boris/useBorisStats';
import { useLastSeenBoris } from '~/hooks/auth/useLastSeenBoris';
import { useAuth } from '~/hooks/auth/useAuth';
import { useLastSeenBoris } from '~/hooks/auth/useLastSeenBoris';
import { useBorisStats } from '~/hooks/boris/useBorisStats';
import { IComment } from '~/types';
export const useBoris = (comments: IComment[]) => {
const title = useRandomPhrase('BORIS_TITLE');