-
Notifications
You must be signed in to change notification settings - Fork 0
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
Haf 56 connect available jobs table with backend on worker profile #93
Haf 56 connect available jobs table with backend on worker profile #93
Conversation
chain_id: number; | ||
} | ||
|
||
const ResetPasswordSuccessResponseSchema = z.unknown(); |
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.
change name
|
||
const onJobAssignmentSuccess = async () => { | ||
setTopNotification({ | ||
content: 'Successfully assigned a job!', |
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.
To dictionary
const { setTopNotification, closeNotification } = | ||
useProtectedLayoutNotification(); | ||
|
||
const onJobAssignmentSuccess = async () => { |
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.
Create a hook with notification logic
onError: onJobAssignmentError, | ||
}); | ||
|
||
const availableJobsTableState = queryClient.getQueryState([ |
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.
create hook with data query
8f664f6
into
feature/human-app-frontend
Description
Summary of changes
How test the changes
Related issues
Keywords for linking issues