8 lines
114 B
JavaScript
8 lines
114 B
JavaScript
|
let instance = null;
|
||
|
export const state = () => {
|
||
|
if (!instance) {
|
||
|
instance = {};
|
||
|
}
|
||
|
return instance;
|
||
|
};
|