I cleaned and removed variables.
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user