apply ody pr 463 - move MAIN_CLASS constant

This commit is contained in:
zeppi 2022-01-21 11:29:15 -05:00
parent 528a0f4d6e
commit f58b254f97
3 changed files with 3 additions and 2 deletions

View file

@ -1,5 +1,5 @@
// @flow
import { MAIN_CLASS } from 'component/page/view';
import { MAIN_CLASS } from 'constants/classnames';
import type { Node } from 'react';
import React, { useEffect } from 'react';
import classnames from 'classnames';

View file

@ -13,7 +13,7 @@ import { useHistory } from 'react-router';
import { useIsMobile, useIsMediumScreen } from 'effects/use-screensize';
import { parseURI } from 'util/lbryURI';
export const MAIN_CLASS = 'main';
import { MAIN_CLASS } from 'constants/classnames';
type Props = {
children: Node | Array<Node>,
className: ?string,

View file

@ -1 +1,2 @@
export const COMMENT_HIGHLIGHTED = 'comment--highlighted';
export const MAIN_CLASS = 'main';