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

Updated data home page and dahsboard #170

Merged
merged 5 commits into from
Dec 8, 2023
Merged

Conversation

Comment on lines +8 to +9
console.log("allalal", videoInfo);
console.log("URL", URL);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please remove

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure, I'll delete all of them

const handleMenuClick = (state) => {
if (userRole) {
setVideoState(state);
setUpdateData((updateData) => updateData + 1);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is updateData state used for?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This edit button’s state can be used on different pages to update data from the database. It fetches data from the database when changes are made.

@OlhaDanylevska OlhaDanylevska merged commit ac3fcf5 into main Dec 8, 2023
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.

3 participants