Skip to content

Commit

Permalink
style: last minute release tweaks (#733)
Browse files Browse the repository at this point in the history
  • Loading branch information
albertfolch-redeemeum authored Jun 29, 2023
1 parent 0ffd524 commit ee9e49b
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 8 deletions.
9 changes: 4 additions & 5 deletions src/components/seller/salesChannels/SalesChannels.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import { Gear } from "phosphor-react";
import React from "react";
import { Link } from "react-router-dom";

import { BosonRoutes, SellerCenterRoutes } from "../../../lib/routing/routes";
import { useSellers } from "../../../lib/utils/hooks/useSellers";
import { Channels } from "../../modal/components/SalesChannelsModal/form";
import Button from "../../ui/Button";
import GridContainer from "../../ui/GridContainer";
import { SalesChannelCard } from "./SalesChannelCard";

Expand Down Expand Up @@ -38,10 +38,9 @@ export const SalesChannels: React.FC<SalesChannelsProps> = ({ sellerId }) => {
{...(hasStoreFrontSaved && {
secondCta: (
<Link to={{ pathname: BosonRoutes.ManageStorefronts }}>
<Gear
style={{ color: "initial", cursor: "pointer" }}
weight="regular"
/>
<Button theme="secondary" size="small">
Manage
</Button>
</Link>
)
})}
Expand Down
11 changes: 8 additions & 3 deletions src/pages/custom-store/manage/ManageStoreFrontsPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,11 @@ const StoreFrontItem = styled.li`
width: 100%;
`;

const iconProps = {
weight: "regular",
size: 20
} as const;

export const ManageStoreFrontsPage = () => {
const { isConnected } = useAccount();
const { showModal } = useModal();
Expand Down Expand Up @@ -200,7 +205,7 @@ export const ManageStoreFrontsPage = () => {
}
}}
>
<Copy weight="regular" />
<Copy {...iconProps} />
</CopyButton>
)}
<Link
Expand All @@ -211,11 +216,11 @@ export const ManageStoreFrontsPage = () => {
}`
}}
>
<Gear style={{ color: "initial" }} weight="regular" />
<Gear style={{ color: "initial" }} {...iconProps} />
</Link>
<Trash
style={{ cursor: "pointer" }}
weight="regular"
{...iconProps}
onClick={() => {
showModal(
"CONFIRMATION",
Expand Down

0 comments on commit ee9e49b

Please sign in to comment.