apply ody pr 463 - move MAIN_CLASS constant (#7430)

This commit is contained in:
jessopb 2022-01-21 12:54:22 -05:00 committed by GitHub
parent ca0cd2ca75
commit fc3ddf01b1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 2 deletions

View file

@ -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';

View file

@ -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,

View file

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