Skip to content

Commit 1f61a4b

Browse files
committed
emotion: SingleSignOnSection
1 parent f6e0a64 commit 1f61a4b

File tree

1 file changed

+6
-12
lines changed

1 file changed

+6
-12
lines changed

site/src/pages/UserSettingsPage/SecurityPage/SingleSignOnSection.tsx

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -101,21 +101,15 @@ export const useSingleSignOnSection = () => {
101101
};
102102
};
103103

104-
const useEmptyStateStyles = makeStyles((theme) => ({
105-
root: {
106-
minHeight: 0,
107-
padding: theme.spacing(6, 4),
108-
backgroundColor: theme.palette.background.paper,
109-
borderRadius: theme.shape.borderRadius,
110-
},
111-
}));
112-
113104
function SSOEmptyState() {
114-
const styles = useEmptyStateStyles();
115-
116105
return (
117106
<EmptyState
118-
className={styles.root}
107+
css={(theme) => ({
108+
minHeight: 0,
109+
padding: theme.spacing(6, 4),
110+
backgroundColor: theme.palette.background.paper,
111+
borderRadius: theme.shape.borderRadius,
112+
})}
119113
message="No SSO Providers"
120114
description="No SSO providers are configured with this Coder deployment."
121115
cta={

0 commit comments

Comments
 (0)