-
Notifications
You must be signed in to change notification settings - Fork 239
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use Contract for Preflight Checks #3928
Conversation
} | ||
}; | ||
|
||
const getStatus = () => { | ||
const getStatus = (): JSX.Element | "Provisioning is still in progress..." | undefined => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
option to also just do React.ReactNode, might be cleaner.
if (!props.clusterId) { | ||
markStepStarted("pre-provisioning-check-started"); | ||
await markStepStarted("pre-provisioning-check-started"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can do void
for these markStepStarted
if they're just analytics updates and you don't actually want to await them
Co-authored-by: ianedwards <[email protected]>
…o contract-preflight
POR-
What does this PR do?
Refactor Front end to use Contract