Change styles to object to fix betterer issue

This commit is contained in:
Oscar Kilhed
2024-01-16 10:23:37 +01:00
parent 503203c0b3
commit 8627b9162c
@@ -195,10 +195,8 @@ export function DashboardQueryEditor({ data, query, onChange, onRunQuery }: Prop
);
}
function getStyles(theme: GrafanaTheme2) {
return {
noQueriesText: css({
padding: theme.spacing(1.25),
}),
};
}
const getStyles = (theme: GrafanaTheme2) => ({
noQueriesText: css({
paddingLeft: theme.spacing(1.25),
}),
});