Web: cleanup, simplify plain(x)
function a bit
This commit is contained in:
parent
744fabea78
commit
6a0e4c6e56
@ -9,8 +9,8 @@ import router from '@/router/index'
|
|||||||
import { DateTime } from 'luxon';
|
import { DateTime } from 'luxon';
|
||||||
window.DateTime = DateTime;
|
window.DateTime = DateTime;
|
||||||
|
|
||||||
// This removes any Vue reactivity.
|
// plain removes any Vue reactivity.
|
||||||
window.plain = (x) => { return JSON.parse(JSON.stringify(x)) };
|
window.plain = (x) => JSON.parse(JSON.stringify(x));
|
||||||
|
|
||||||
const app = createApp(App)
|
const app = createApp(App)
|
||||||
const pinia = createPinia()
|
const pinia = createPinia()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user