mirror of
https://github.com/SrIzan10/helium.git
synced 2026-06-06 00:56:58 +00:00
12 lines
209 B
TypeScript
12 lines
209 B
TypeScript
import { defineStore} from 'pinia';
|
|
|
|
export const useViewerStore = defineStore('viewer', {
|
|
state: () => ({
|
|
code: '',
|
|
}),
|
|
actions: {
|
|
setCode(code: string) {
|
|
this.code = code;
|
|
},
|
|
},
|
|
}); |