Skip to content

Commit

Permalink
fix: remove comments
Browse files Browse the repository at this point in the history
  • Loading branch information
mateuseduardomedeiros committed May 23, 2024
1 parent 8838a7c commit 14e591c
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/stores/modules/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ export const useModulesStore = defineStore('modules', {
loadingSingleModule: false,
modules: [],
error: null,
// currentModule: {},
}),
getters: {
currentModule(state) {
Expand Down Expand Up @@ -113,10 +112,6 @@ export const useModulesStore = defineStore('modules', {

const watchedPercentage = response.data.watched_percentage;

// this.modules.find(
// (mod) => mod.id === this.currentModule.id,
// ).watched_percentage = watchedPercentage;

this.currentModule.watched_percentage = watchedPercentage;
} catch (error) {
this.error = error;
Expand Down

0 comments on commit 14e591c

Please sign in to comment.