I cleaned and removed variables.

This commit is contained in:
PascalMarchesseault
2024-06-28 02:22:28 -04:00
parent a609fc291f
commit 2c9bed6f8a
2 changed files with 1 additions and 45 deletions

View File

@@ -46,16 +46,6 @@ const onFileChange = (event) => {
}
};
const saveAll = () => {
const formData = socialNetworks.value.reduce((acc, network) => {
acc[network.field] = network.value;
return acc;
}, {});
console.log('Form data:', formData);
console.log('Icon URL:', iconUrl.value);
// Logic to save all fields and the icon
};
</script>
<style scoped>