Skip to content

Commit 319bfce

Browse files
committed
lint
1 parent 79896b2 commit 319bfce

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

site/src/modules/provisioners/ProvisionerAlert.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import { AlertDetail } from "components/Alert/Alert";
44
import { Stack } from "components/Stack/Stack";
55
import { ProvisionerTag } from "modules/provisioners/ProvisionerTag";
66
import type { FC } from "react";
7+
import type { Theme } from "@emotion/react";
78

89
export enum AlertVariant {
910
// Alerts are usually styled with a full rounded border and meant to use as a visually distinct element of the page.
@@ -27,7 +28,7 @@ const getAlertStyles = (variant: AlertVariant, severity: AlertColor) => {
2728
switch (variant) {
2829
case AlertVariant.Inline:
2930
return {
30-
css: (theme) => ({
31+
css: (theme: Theme) => ({
3132
borderRadius: 0,
3233
border: 0,
3334
borderBottom: `1px solid ${theme.palette.divider}`,

0 commit comments

Comments
 (0)