Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { TCACertification } from '../tca-certification.model'

export interface TCACertificationProviderData {
certification: TCACertification
certification?: TCACertification
error: boolean
loading: boolean
ready: boolean
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export function useTcaCertificationModal(certificationName?: string, onClose: ()
{ enabled: !!certificationName },
)

return (
return !!tcaCertification && (
<TCACertificationCompletedModal
certification={tcaCertification}
isOpen={!!tcaCertification}
Expand Down