From 6f4cf0a13c51ef4598c3a1debe6f13402be1c902 Mon Sep 17 00:00:00 2001 From: AlexBocken Date: Tue, 27 Jun 2023 19:02:10 +0200 Subject: [PATCH] add stores --- src/lib/js/img_store.js | 3 +++ src/lib/js/portions_store.js | 3 +++ 2 files changed, 6 insertions(+) create mode 100644 src/lib/js/img_store.js create mode 100644 src/lib/js/portions_store.js diff --git a/src/lib/js/img_store.js b/src/lib/js/img_store.js new file mode 100644 index 0000000..d185ed6 --- /dev/null +++ b/src/lib/js/img_store.js @@ -0,0 +1,3 @@ +import { writable } from 'svelte/store'; + +export const img = writable(); diff --git a/src/lib/js/portions_store.js b/src/lib/js/portions_store.js new file mode 100644 index 0000000..1e1212e --- /dev/null +++ b/src/lib/js/portions_store.js @@ -0,0 +1,3 @@ +import { writable } from 'svelte/store'; + +export const portions = writable();