apply ody pr 463 - move MAIN_CLASS constant #7430

Merged
jessopb merged 1 commit from ody-pr-463 into master 2022-01-21 18:54:22 +01:00
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';