Removed redundant code
This commit is contained in:
1 parent
4ce67b54b6
commit
c48249e30d
1 file changed
+5
-7
@@ -1,5 +1,5 @@
|
|||||||
import PropTypes from "prop-types";
|
import PropTypes from "prop-types";
|
||||||
import { Stack, Box, Typography, Grid } from "@mui/material";
|
import { Stack, Typography, Grid } from "@mui/material";
|
||||||
import Button from "../../Components/Button";
|
import Button from "../../Components/Button";
|
||||||
import { useTheme } from "@emotion/react";
|
import { useTheme } from "@emotion/react";
|
||||||
import Discord from "../../assets/icons/discord-icon.svg?react";
|
import Discord from "../../assets/icons/discord-icon.svg?react";
|
||||||
@@ -30,9 +30,7 @@ const IntegrationsComponent = ({ icon, header, info, onClick }) => {
|
|||||||
pl={theme.gap.large}
|
pl={theme.gap.large}
|
||||||
height="100%"
|
height="100%"
|
||||||
>
|
>
|
||||||
<Stack alignItems="center" justifyContent="center">
|
{icon}
|
||||||
{icon}
|
|
||||||
</Stack>
|
|
||||||
<Stack gap={theme.gap.xs} flex={1}>
|
<Stack gap={theme.gap.xs} flex={1}>
|
||||||
<Typography component="h1">{header}</Typography>
|
<Typography component="h1">{header}</Typography>
|
||||||
<Typography
|
<Typography
|
||||||
@@ -77,7 +75,7 @@ const Integrations = () => {
|
|||||||
icon: (
|
icon: (
|
||||||
<Slack
|
<Slack
|
||||||
alt="slack integration"
|
alt="slack integration"
|
||||||
style={{ width: "45px", height: "45px" }}
|
style={{ width: "45px", height: "45px", alignSelf: "center" }}
|
||||||
/>
|
/>
|
||||||
),
|
),
|
||||||
header: "Slack",
|
header: "Slack",
|
||||||
@@ -88,7 +86,7 @@ const Integrations = () => {
|
|||||||
icon: (
|
icon: (
|
||||||
<Discord
|
<Discord
|
||||||
alt="discord integration"
|
alt="discord integration"
|
||||||
style={{ width: "42px", height: "42px" }}
|
style={{ width: "42px", height: "42px", alignSelf: "center" }}
|
||||||
/>
|
/>
|
||||||
),
|
),
|
||||||
header: "Discord",
|
header: "Discord",
|
||||||
@@ -99,7 +97,7 @@ const Integrations = () => {
|
|||||||
icon: (
|
icon: (
|
||||||
<Zapier
|
<Zapier
|
||||||
alt="zapier integration"
|
alt="zapier integration"
|
||||||
style={{ width: "42px", height: "42px" }}
|
style={{ width: "42px", height: "42px", alignSelf: "center" }}
|
||||||
/>
|
/>
|
||||||
),
|
),
|
||||||
header: "Zapier",
|
header: "Zapier",
|
||||||
|
|||||||
Reference in new issue
Block a user