Client: Shared: remove useless code
This commit is contained in:
parent
31323d26ba
commit
e155ca9059
@ -67,7 +67,6 @@ import {
|
||||
import styled, { css } from "styled-components";
|
||||
|
||||
import { resendInvitesAgain } from "@docspace/shared/api/people";
|
||||
import { getCorrectFourValuesStyle } from "@docspace/shared/utils";
|
||||
import { ArticleButtonLoader } from "@docspace/shared/skeletons/article";
|
||||
import { isMobile, isTablet } from "react-device-detect";
|
||||
|
||||
|
@ -25,7 +25,7 @@
|
||||
// International. See the License terms at http://creativecommons.org/licenses/by-sa/4.0/legalcode
|
||||
|
||||
import styled from "styled-components";
|
||||
import { getCorrectFourValuesStyle, mobileMore } from "@docspace/shared/utils";
|
||||
import { mobileMore } from "@docspace/shared/utils";
|
||||
|
||||
const StyledBreakpointWarning = styled.div`
|
||||
padding-block: 24px 0;
|
||||
|
@ -28,11 +28,7 @@ import { useState, useEffect } from "react";
|
||||
import styled from "styled-components";
|
||||
import { RectangleSkeleton } from "@docspace/shared/skeletons";
|
||||
|
||||
import {
|
||||
getCorrectFourValuesStyle,
|
||||
isMobile,
|
||||
mobileMore,
|
||||
} from "@docspace/shared/utils";
|
||||
import { isMobile, mobileMore } from "@docspace/shared/utils";
|
||||
|
||||
const StyledLoader = styled.div`
|
||||
padding-top: 25px;
|
||||
|
@ -32,11 +32,7 @@ import styled, { css } from "styled-components";
|
||||
import { Badge } from "@docspace/shared/components/badge";
|
||||
import { Link } from "@docspace/shared/components/link";
|
||||
import { Text } from "@docspace/shared/components/text";
|
||||
import {
|
||||
commonIconsStyles,
|
||||
getCorrectFourValuesStyle,
|
||||
tablet,
|
||||
} from "@docspace/shared/utils";
|
||||
import { commonIconsStyles, tablet } from "@docspace/shared/utils";
|
||||
|
||||
import MenuIcon from "PUBLIC_DIR/images/menu.react.svg";
|
||||
import { Base } from "@docspace/shared/themes";
|
||||
|
@ -27,7 +27,7 @@
|
||||
import { ModalDialog } from "@docspace/shared/components/modal-dialog";
|
||||
|
||||
import styled from "styled-components";
|
||||
import { getCorrectFourValuesStyle, tablet } from "@docspace/shared/utils";
|
||||
import { tablet } from "@docspace/shared/utils";
|
||||
|
||||
const StyledDeleteDialog = styled(ModalDialog)`
|
||||
/* .scroll-body {
|
||||
|
@ -25,7 +25,7 @@
|
||||
// International. See the License terms at http://creativecommons.org/licenses/by-sa/4.0/legalcode
|
||||
|
||||
import { ModalDialog } from "@docspace/shared/components/modal-dialog";
|
||||
import { tablet, getCorrectFourValuesStyle } from "@docspace/shared/utils";
|
||||
import { tablet } from "@docspace/shared/utils";
|
||||
import styled from "styled-components";
|
||||
|
||||
const StyledDeleteLinkDialog = styled(ModalDialog)`
|
||||
|
@ -25,7 +25,7 @@
|
||||
// International. See the License terms at http://creativecommons.org/licenses/by-sa/4.0/legalcode
|
||||
|
||||
import { ModalDialog } from "@docspace/shared/components/modal-dialog";
|
||||
import { tablet, getCorrectFourValuesStyle } from "@docspace/shared/utils";
|
||||
import { tablet } from "@docspace/shared/utils";
|
||||
import styled from "styled-components";
|
||||
|
||||
const StyledMoveToPublicRoomDialog = styled(ModalDialog)`
|
||||
|
@ -25,11 +25,7 @@
|
||||
// International. See the License terms at http://creativecommons.org/licenses/by-sa/4.0/legalcode
|
||||
|
||||
import styled from "styled-components";
|
||||
import {
|
||||
mobile,
|
||||
tablet,
|
||||
getCorrectFourValuesStyle,
|
||||
} from "@docspace/shared/utils";
|
||||
import { mobile, tablet } from "@docspace/shared/utils";
|
||||
|
||||
export const StyledPage = styled.div`
|
||||
display: flex;
|
||||
|
@ -29,13 +29,7 @@ import { Base } from "@docspace/shared/themes";
|
||||
import TileContent from "./sub-components/TileContent";
|
||||
import { ContextMenu } from "@docspace/shared/components/context-menu";
|
||||
|
||||
import {
|
||||
tablet,
|
||||
desktop,
|
||||
mobile,
|
||||
mobileMore,
|
||||
getCorrectFourValuesStyle,
|
||||
} from "@docspace/shared/utils";
|
||||
import { tablet, desktop, mobile, mobileMore } from "@docspace/shared/utils";
|
||||
|
||||
const FlexBoxStyles = css`
|
||||
display: flex;
|
||||
|
@ -26,10 +26,6 @@
|
||||
|
||||
import styled, { css } from "styled-components";
|
||||
import { Base } from "@docspace/shared/themes";
|
||||
import {
|
||||
getCorrectBorderRadius,
|
||||
getCorrectFourValuesStyle,
|
||||
} from "@docspace/shared/utils";
|
||||
|
||||
const StyledComponent = styled.div`
|
||||
display: inline-flex;
|
||||
|
@ -26,7 +26,7 @@
|
||||
|
||||
import styled, { css } from "styled-components";
|
||||
import { Row } from "@docspace/shared/components/row";
|
||||
import { tablet, getCorrectFourValuesStyle } from "@docspace/shared/utils";
|
||||
import { tablet } from "@docspace/shared/utils";
|
||||
import { Base } from "@docspace/shared/themes";
|
||||
|
||||
const StyledBody = styled.div`
|
||||
|
@ -25,7 +25,6 @@
|
||||
// International. See the License terms at http://creativecommons.org/licenses/by-sa/4.0/legalcode
|
||||
|
||||
import styled, { css } from "styled-components";
|
||||
import { getCorrectFourValuesStyle } from "../../utils";
|
||||
import { Base } from "../../themes";
|
||||
|
||||
const Selectors = styled.div<{ hasError?: boolean }>`
|
||||
|
@ -26,12 +26,7 @@
|
||||
|
||||
import styled, { css } from "styled-components";
|
||||
import { Base } from "../../themes";
|
||||
import {
|
||||
mobile,
|
||||
tablet,
|
||||
getCorrectBorderRadius,
|
||||
getCorrectFourValuesStyle,
|
||||
} from "../../utils";
|
||||
import { mobile, tablet } from "../../utils";
|
||||
import { IconButton } from "../icon-button";
|
||||
import { Scrollbar } from "../scrollbar";
|
||||
import { ColorTheme } from "../color-theme";
|
||||
|
@ -25,7 +25,7 @@
|
||||
// International. See the License terms at http://creativecommons.org/licenses/by-sa/4.0/legalcode
|
||||
|
||||
import styled, { css } from "styled-components";
|
||||
import { tablet, getCorrectFourValuesStyle } from "../../utils";
|
||||
import { tablet } from "../../utils";
|
||||
import { Base } from "../../themes";
|
||||
|
||||
const StyledContextMenu = styled.div`
|
||||
|
@ -26,7 +26,7 @@
|
||||
|
||||
import styled from "styled-components";
|
||||
|
||||
import { tablet, getCorrectFourValuesStyle } from "@docspace/shared/utils";
|
||||
import { tablet } from "@docspace/shared/utils";
|
||||
|
||||
export const StyledWrapper = styled.div`
|
||||
width: 660px;
|
||||
|
Loading…
Reference in New Issue
Block a user