Fix crashing bug in MajorErrorMessage
Uhhh oops did I just not test this refactor at all? lmao
This commit is contained in:
parent
aa150f4d4e
commit
2b19c4f99d
1 changed files with 2 additions and 2 deletions
|
@ -508,14 +508,14 @@ export function MajorErrorMessage({ error = null, variant = "unexpected" }) {
|
||||||
</>
|
</>
|
||||||
)}
|
)}
|
||||||
</Box>
|
</Box>
|
||||||
{message && (
|
{error && (
|
||||||
<Box gridArea="details" fontSize="xs" opacity="0.8">
|
<Box gridArea="details" fontSize="xs" opacity="0.8">
|
||||||
<WarningIcon
|
<WarningIcon
|
||||||
marginRight="1.5"
|
marginRight="1.5"
|
||||||
marginTop="-2px"
|
marginTop="-2px"
|
||||||
aria-label="Error message"
|
aria-label="Error message"
|
||||||
/>
|
/>
|
||||||
"{getGraphQLErrorMessage(message)}"
|
"{getGraphQLErrorMessage(error)}"
|
||||||
</Box>
|
</Box>
|
||||||
)}
|
)}
|
||||||
</Grid>
|
</Grid>
|
||||||
|
|
Loading…
Reference in a new issue