fix: format errors
This commit is contained in:
1 parent
2bbaf7d1eb
commit
f7514bc938
3 files changed
+9
-11
No files matched your search
@@ -9,10 +9,7 @@ interface StrategyBadgeProps {
|
|||||||
variant?: "caption" | "body2";
|
variant?: "caption" | "body2";
|
||||||
}
|
}
|
||||||
|
|
||||||
export const StrategyBadge = ({
|
export const StrategyBadge = ({ strategy, variant = "body2" }: StrategyBadgeProps) => {
|
||||||
strategy,
|
|
||||||
variant = "body2",
|
|
||||||
}: StrategyBadgeProps) => {
|
|
||||||
const theme = useTheme();
|
const theme = useTheme();
|
||||||
const { t } = useTranslation();
|
const { t } = useTranslation();
|
||||||
|
|
||||||
|
|||||||
@@ -409,14 +409,10 @@ const CreateMonitorPage = () => {
|
|||||||
error={!!fieldState.error}
|
error={!!fieldState.error}
|
||||||
>
|
>
|
||||||
<MenuItem value="desktop">
|
<MenuItem value="desktop">
|
||||||
{t(
|
{t("pages.createMonitor.form.general.option.strategy.desktop")}
|
||||||
"pages.createMonitor.form.general.option.strategy.desktop"
|
|
||||||
)}
|
|
||||||
</MenuItem>
|
</MenuItem>
|
||||||
<MenuItem value="mobile">
|
<MenuItem value="mobile">
|
||||||
{t(
|
{t("pages.createMonitor.form.general.option.strategy.mobile")}
|
||||||
"pages.createMonitor.form.general.option.strategy.mobile"
|
|
||||||
)}
|
|
||||||
</MenuItem>
|
</MenuItem>
|
||||||
</Select>
|
</Select>
|
||||||
)}
|
)}
|
||||||
|
|||||||
@@ -1,7 +1,12 @@
|
|||||||
import Stack from "@mui/material/Stack";
|
import Stack from "@mui/material/Stack";
|
||||||
import Box from "@mui/material/Box";
|
import Box from "@mui/material/Box";
|
||||||
import Typography from "@mui/material/Typography";
|
import Typography from "@mui/material/Typography";
|
||||||
import { Table, Pagination, StatusLabel, StrategyBadge } from "@/Components/design-elements";
|
import {
|
||||||
|
Table,
|
||||||
|
Pagination,
|
||||||
|
StatusLabel,
|
||||||
|
StrategyBadge,
|
||||||
|
} from "@/Components/design-elements";
|
||||||
import { LAYOUT } from "@/Utils/Theme/constants";
|
import { LAYOUT } from "@/Utils/Theme/constants";
|
||||||
import { HistogramPageSpeed } from "@/Components/monitors";
|
import { HistogramPageSpeed } from "@/Components/monitors";
|
||||||
import { ArrowDown, ArrowUp } from "lucide-react";
|
import { ArrowDown, ArrowUp } from "lucide-react";
|
||||||
|
|||||||
Reference in new issue
Block a user