Skip to content

Commit

Permalink
frontend: home page - nav bar - category list - fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
rkshaon committed Jul 22, 2024
1 parent 727b9d5 commit a199d78
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions frontend/src/components/common/NavComponent.vue
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,7 @@ export default {
async fetchCategories() {
try {
const response = await categoryAPI.getCategories();
console.log(response.data);
this.categoriesData = response.data;
this.categoriesData = response.data.results;
} catch(error) {
console.log('Error: ', error);
} finally {
Expand Down

0 comments on commit a199d78

Please sign in to comment.