From 2c9bed6f8a6c1f174650fbe5fd6accedd9905cb0 Mon Sep 17 00:00:00 2001
From: PascalMarchesseault
<97350299+PascalMarchesseault@users.noreply.github.com>
Date: Fri, 28 Jun 2024 02:22:28 -0400
Subject: [PATCH] I cleaned and removed variables.
---
src/views/main/Aboutyou.vue | 36 +---------------------------------
src/views/main/SocialLinks.vue | 10 ----------
2 files changed, 1 insertion(+), 45 deletions(-)
diff --git a/src/views/main/Aboutyou.vue b/src/views/main/Aboutyou.vue
index 8aba238..7c3cff7 100644
--- a/src/views/main/Aboutyou.vue
+++ b/src/views/main/Aboutyou.vue
@@ -86,46 +86,12 @@
diff --git a/src/views/main/SocialLinks.vue b/src/views/main/SocialLinks.vue
index 201fa51..cb42063 100644
--- a/src/views/main/SocialLinks.vue
+++ b/src/views/main/SocialLinks.vue
@@ -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
-};