Check empty result

This commit is contained in:
MD. Ariful Alam committed 2021-08-28 23:52:05 +06:00
1 parent 4f676edfc8
commit f8556e88ac
3 files changed
+9 -6

No files matched your search

+4 -4
View File
@@ -37,10 +37,10 @@ function App() {
let profileData = {
avatar: data.avatar_url,
name: data.name,
bio: data.bio,
location: data.location,
company: data.company
name: data.name ? data.name : '',
bio: data.bio ? data.bio : '',
location: data.location ? data.location : '',
company: data.company ? data.company : ''
}
dispatch(setProfile(profileData));