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";
|
||||
}
|
||||
|
||||
export const StrategyBadge = ({
|
||||
strategy,
|
||||
variant = "body2",
|
||||
}: StrategyBadgeProps) => {
|
||||
export const StrategyBadge = ({ strategy, variant = "body2" }: StrategyBadgeProps) => {
|
||||
const theme = useTheme();
|
||||
const { t } = useTranslation();
|
||||
|
||||
|
||||
@@ -409,14 +409,10 @@ const CreateMonitorPage = () => {
|
||||
error={!!fieldState.error}
|
||||
>
|
||||
<MenuItem value="desktop">
|
||||
{t(
|
||||
"pages.createMonitor.form.general.option.strategy.desktop"
|
||||
)}
|
||||
{t("pages.createMonitor.form.general.option.strategy.desktop")}
|
||||
</MenuItem>
|
||||
<MenuItem value="mobile">
|
||||
{t(
|
||||
"pages.createMonitor.form.general.option.strategy.mobile"
|
||||
)}
|
||||
{t("pages.createMonitor.form.general.option.strategy.mobile")}
|
||||
</MenuItem>
|
||||
</Select>
|
||||
)}
|
||||
|
||||
@@ -1,7 +1,12 @@
|
||||
import Stack from "@mui/material/Stack";
|
||||
import Box from "@mui/material/Box";
|
||||
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 { HistogramPageSpeed } from "@/Components/monitors";
|
||||
import { ArrowDown, ArrowUp } from "lucide-react";
|
||||
|
||||
Reference in new issue
Block a user