Skip to content

Commit 89bdfb9

Browse files
authored
Rename errorDetailsContentClassName to errorDetailsContentStyles
As per copilot suggestion
1 parent 982f1ab commit 89bdfb9

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

packages/compass-components/src/hooks/use-error-details.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { css } from '@leafygreen-ui/emotion';
44
import { spacing } from '@leafygreen-ui/tokens';
55
import React from 'react';
66

7-
const errorDetailsContentClassName = css({
7+
const errorDetailsContentStyles = css({
88
paddingTop: spacing[400], // small gap above JSON
99
maxHeight: '60vh', // cap JSON area height so footer can stay visible
1010
overflow: 'auto', // scroll JSON when long
@@ -20,7 +20,7 @@ export const showErrorDetails = function showErrorDetails({
2020
void showConfirmation({
2121
title: 'Error details',
2222
description: (
23-
<div className={errorDetailsContentClassName}>
23+
<div className={errorDetailsContentStyles}>
2424
<Code
2525
language="json"
2626
data-testid="error-details-json"

0 commit comments

Comments
 (0)