Skip to content

Commit

Permalink
add childrenskeleton
Browse files Browse the repository at this point in the history
  • Loading branch information
MaHaWo committed Aug 26, 2024
1 parent 7623939 commit 0e4087a
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 13 deletions.
14 changes: 11 additions & 3 deletions src/lib/stores/childrenData.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
<script>
import { writable } from "svelte/store";
</script>
import { writable } from 'svelte/store';

let childrenlist = {};

const childrenData = writable(childrenlist);

function addChildrenData(data, usertoken) {}

function removeChildrenData(usertoken) {}

export { addChildrenData, childrenData, removeChildrenData };
6 changes: 1 addition & 5 deletions src/lib/stores/contentStore.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,4 @@ function removeContent(type, key) {
});
}

function getContent(type, key) {
return content.value[type][key];
}

export { addContent, content, getContent, removeContent };
export { addContent, content, removeContent };
6 changes: 1 addition & 5 deletions src/lib/stores/userData.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,4 @@ async function removeUser(userToken) {
});
}

async function getUser(userToken) {
return users.value[userToken];
}

export { addUser, getUser, removeUser, users };
export { addUser, removeUser, users };

0 comments on commit 0e4087a

Please sign in to comment.