Skip to content
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

Conversation

KacperKoza343
Copy link
Collaborator

Description

Summary of changes

How test the changes

Related issues

Keywords for linking issues

chain_id: number;
}

const ResetPasswordSuccessResponseSchema = z.unknown();
Copy link
Collaborator

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!',
Copy link
Collaborator

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 () => {
Copy link
Collaborator

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([
Copy link
Collaborator

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

@KacperKoza343 KacperKoza343 changed the title Haf 55 connect my jobs table with backend on worker profile Haf 56 connect available jobs table with backend on worker profile May 17, 2024
@MicDebBlocky MicDebBlocky merged commit 8f664f6 into feature/human-app-frontend May 17, 2024
1 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants