There was an error while loading. Please reload this page.
1 parent 982f1ab commit 89bdfb9Copy full SHA for 89bdfb9
1 file changed
packages/compass-components/src/hooks/use-error-details.tsx
@@ -4,7 +4,7 @@ import { css } from '@leafygreen-ui/emotion';
4
import { spacing } from '@leafygreen-ui/tokens';
5
import React from 'react';
6
7
-const errorDetailsContentClassName = css({
+const errorDetailsContentStyles = css({
8
paddingTop: spacing[400], // small gap above JSON
9
maxHeight: '60vh', // cap JSON area height so footer can stay visible
10
overflow: 'auto', // scroll JSON when long
@@ -20,7 +20,7 @@ export const showErrorDetails = function showErrorDetails({
20
void showConfirmation({
21
title: 'Error details',
22
description: (
23
- <div className={errorDetailsContentClassName}>
+ <div className={errorDetailsContentStyles}>
24
<Code
25
language="json"
26
data-testid="error-details-json"
0 commit comments