Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
andrzejewsky committed Jan 30, 2025
1 parent 219be81 commit e2077c4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import React from "react";
export const EmptyImage = () => {
const { theme } = useTheme();

// Using these colors to match other grid-based lists
const bgColor = theme === "defaultLight" ? "hsla(210, 15%, 87%, 1)" : "hsla(210, 32%, 25%, 1)";

return <Box __width="31px" __height="31px" __backgroundColor={bgColor} borderRadius={2} />;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,7 @@ import Drag from "@dashboard/icons/Drag";
import { productUrl } from "@dashboard/products/urls";
import { useSortable } from "@dnd-kit/sortable";
import { CSS } from "@dnd-kit/utilities";
import {
Box,
Button,
Checkbox,
Skeleton,
Text,
TrashBinIcon,
useTheme,
} from "@saleor/macaw-ui-next";
import { Box, Button, Checkbox, Skeleton, Text, TrashBinIcon } from "@saleor/macaw-ui-next";
import React from "react";

import { EmptyImage } from "./EmptyImage";
Expand Down

0 comments on commit e2077c4

Please sign in to comment.