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

sing create-react-app now

This commit is contained in:
Fedor Katurov 2020-11-19 17:27:19 +07:00
parent 332d09e3bd
commit a9c43e8976
41 changed files with 6207 additions and 15613 deletions

View file

@ -8,7 +8,7 @@ import styles from './styles.module.scss';
import { Group } from '~/components/containers/Group';
import boris from '~/sprites/boris_robot.svg';
import { NodeNoComments } from '~/components/node/NodeNoComments';
import { getRandomPhrase } from '~/constants/phrases';
import { useRandomPhrase } from '~/constants/phrases';
import { NodeCommentForm } from '~/components/node/NodeCommentForm';
import * as NODE_ACTIONS from '~/redux/node/actions';
@ -19,7 +19,6 @@ import isBefore from 'date-fns/isBefore';
import { Card } from '~/components/containers/Card';
import { Footer } from '~/components/main/Footer';
import { Sticky } from '~/components/containers/Sticky';
import { Placeholder } from '~/components/placeholders/Placeholder';
import { selectBorisStats } from '~/redux/boris/selectors';
import { BorisStats } from '~/components/boris/BorisStats';
@ -58,7 +57,7 @@ const BorisLayoutUnconnected: FC<IProps> = ({
borisLoadStats,
stats,
}) => {
const title = getRandomPhrase('BORIS_TITLE');
const title = useRandomPhrase('BORIS_TITLE');
useEffect(() => {
const last_comment = comments[0];