apply ody pr 463 - move MAIN_CLASS constant (#7430)
This commit is contained in:
parent
ca0cd2ca75
commit
fc3ddf01b1
3 changed files with 3 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
||||||
// @flow
|
// @flow
|
||||||
import { MAIN_CLASS } from 'component/page/view';
|
import { MAIN_CLASS } from 'constants/classnames';
|
||||||
import type { Node } from 'react';
|
import type { Node } from 'react';
|
||||||
import React, { useEffect } from 'react';
|
import React, { useEffect } from 'react';
|
||||||
import classnames from 'classnames';
|
import classnames from 'classnames';
|
||||||
|
|
|
@ -13,7 +13,7 @@ import { useHistory } from 'react-router';
|
||||||
import { useIsMobile, useIsMediumScreen } from 'effects/use-screensize';
|
import { useIsMobile, useIsMediumScreen } from 'effects/use-screensize';
|
||||||
import { parseURI } from 'util/lbryURI';
|
import { parseURI } from 'util/lbryURI';
|
||||||
|
|
||||||
export const MAIN_CLASS = 'main';
|
import { MAIN_CLASS } from 'constants/classnames';
|
||||||
type Props = {
|
type Props = {
|
||||||
children: Node | Array<Node>,
|
children: Node | Array<Node>,
|
||||||
className: ?string,
|
className: ?string,
|
||||||
|
|
|
@ -1 +1,2 @@
|
||||||
export const COMMENT_HIGHLIGHTED = 'comment--highlighted';
|
export const COMMENT_HIGHLIGHTED = 'comment--highlighted';
|
||||||
|
export const MAIN_CLASS = 'main';
|
||||||
|
|
Loading…
Reference in a new issue