Skip to content

Commit

Permalink
onClose is noop
Browse files Browse the repository at this point in the history
  • Loading branch information
devjiwonchoi committed Dec 18, 2024
1 parent f45ea40 commit 5732a8d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ export const BuildError: React.FC<BuildErrorProps> = function BuildError({
message,
versionInfo,
}) {
const onClose = React.useCallback(() => {}, [])
const noop = React.useCallback(() => {}, [])
return (
<ErrorOverlay
errorType="Build Error"
errorMessage="Failed to compile"
onClose={onClose}
onClose={noop}
versionInfo={versionInfo}
>
<Terminal content={message} />
Expand Down

0 comments on commit 5732a8d

Please sign in to comment.