Web: Common: Deleted useless import.

This commit is contained in:
TatianaLopaeva 2021-01-28 16:23:56 +03:00
parent 6782af330e
commit 754a790d3f

View File

@ -1,7 +1,7 @@
import React from "react";
import PropTypes from "prop-types";
import styled from "styled-components";
import { utils, Icons, Text, Box } from "asc-web-components";
import { utils, Icons, Text } from "asc-web-components";
const { tablet, smallTablet } = utils.device;
const StyledArticlePinPanel = styled.div`
@ -59,14 +59,12 @@ const ArticlePinPanel = React.memo((props) => {
return (
<StyledArticlePinPanel>
{pinned ? (
<div onClick={onUnpin}>
<div className="icon-wrapper">
<Icons.CatalogUnpinIcon size="scale" />
</div>
<Text {...textStyles}>{unpinText}</Text>
</div>
) : (
<div onClick={onPin}>
<div className="icon-wrapper">