Skip to content

Chloe070196 #31 dashboard component search bar#37

Merged
Chloe070196 merged 9 commits intomainfrom
Chloe070196-#31-dashboard-component-search-bar
Feb 8, 2024
Merged

Chloe070196 #31 dashboard component search bar#37
Chloe070196 merged 9 commits intomainfrom
Chloe070196-#31-dashboard-component-search-bar

Conversation

@Chloe070196
Copy link
Copy Markdown

@Chloe070196 Chloe070196 linked an issue Feb 7, 2024 that may be closed by this pull request
Comment thread src/pages/dashboard/index.js Outdated
try {
getUserByName(searchVal).then(setUsers);
} catch (e) {
throw new Error(`no users named ${searchVal} were found`);
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Let's capture the error here and do console.error('error getting user by name', e)

@Chloe070196 Chloe070196 merged commit 519b769 into main Feb 8, 2024
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.

Dashboard component: search bar

2 participants