Fix ref issue on AlertError component (#26602)

This commit is contained in:
Joshen Lim
2024-05-21 17:42:34 +08:00
committed by GitHub
parent d48948ba10
commit 82a0ad93c8
2 changed files with 4 additions and 4 deletions

View File

@@ -168,7 +168,7 @@ export const QueryIndexes = ({ selectedRow }: QueryIndexesProps) => {
{isLoadingIndexAdvisorResult && <GenericSkeletonLoader />}
{isErrorIndexAdvisorResult && (
<AlertError
ref={project?.ref}
projectRef={project?.ref}
error={indexAdvisorError}
subject="Failed to retrieve result from index advisor"
/>