diff --git a/public/js/admin.js b/public/js/admin.js index 4a5246a..5b6b29c 100644 --- a/public/js/admin.js +++ b/public/js/admin.js @@ -22,28 +22,6 @@ const capitalize = (str) => { return str.charAt(0).toUpperCase() + str.slice(1); }; -/** - * Set an alpine.js property - * - * @function setProp - * @param {string} key - Key of the data property - * @param {*} prop - The data property - */ -const setProp = (key, prop) => { - $('#root').get(0).__x.$data[key] = prop; -}; - -/** - * Get an alpine.js property - * - * @function getProp - * @param {string} key - Key of the data property - * @return {*} The data property - */ -const getProp = (key) => { - return $('#root').get(0).__x.$data[key]; -}; - /** * Get the thumbnail generation progress from the API *