Skip to content

Commit

Permalink
prevent persona default values from being modified
Browse files Browse the repository at this point in the history
  • Loading branch information
aliel committed Jun 3, 2024
1 parent 11e1516 commit 3b39273
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/stores/personas-store.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { defaultPersonas } from '../utils/personas.js';
export const usePersonasStore = defineStore('personas', {
state: () => ({
personas: defaultPersonas,
persona: defaultPersonas[0],
persona: {...defaultPersonas[0]},
}),
getters: {},
actions: {
Expand Down

0 comments on commit 3b39273

Please sign in to comment.