Skip to content

Commit ecb4603

Browse files
fix: typos and improve message for artifact visualization (#521)
1 parent e4e9535 commit ecb4603

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/ui/components/lineage/sidebarTabsSwitchers/ArtifactVisualization.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import CsvTable from '../CsvTable';
99
import axios from 'axios';
1010
import { Paragraph } from '../../typographies';
1111

12-
const resposneSizeConstant = 5 * 1024 * 1024;
12+
const responseSizeConstant = 5 * 1024 * 1024;
1313

1414
function Modal({
1515
message,
@@ -28,7 +28,7 @@ function Modal({
2828
};
2929

3030
useEffect(() => {
31-
if (Number(size) < resposneSizeConstant) return proceed(true);
31+
if (Number(size) < responseSizeConstant) return proceed(true);
3232
}, [isProceed]); //eslint-disable-line
3333

3434
return (
@@ -162,7 +162,7 @@ const ArtifactVisualization = ({
162162
let size = node?.metadata?.storage_size?.value;
163163
return (
164164
<Modal
165-
message="size of resposne in larger than 5mb. Do you want to continue?"
165+
message="Size of response is larger than 5 MB. Do you want to continue?"
166166
proceed={setProceed}
167167
size={size}
168168
/>

0 commit comments

Comments
 (0)