diff --git a/Frontend/src/components/formatter/FormatterComponent.vue b/Frontend/src/components/formatter/FormatterComponent.vue
new file mode 100644
index 0000000..e8980ee
--- /dev/null
+++ b/Frontend/src/components/formatter/FormatterComponent.vue
@@ -0,0 +1,98 @@
+
+
+
+
+
+
{{ formatterType.toUpperCase() }} Formatter
+
+
+
+
+
setExample(data)">
+
Clear
+
format(data)">
+
format(data)">
+
+
+
+
+
+
+
setExample(data)">
+
Clear
+
format(data)" @update:error="setErrorOccurred">
+
format(data)" @update:error="setErrorOccurred">
+
+
+
+
+
\ No newline at end of file
diff --git a/Frontend/src/components/formatter/JsonButtonFormatterComponent.vue b/Frontend/src/components/formatter/JsonButtonFormatterComponent.vue
index d752020..3f15ab7 100644
--- a/Frontend/src/components/formatter/JsonButtonFormatterComponent.vue
+++ b/Frontend/src/components/formatter/JsonButtonFormatterComponent.vue
@@ -41,7 +41,6 @@ async function fetchRequest(request: Request):Promise {
return response.json()
})
.then((body) => body);
- console.log(responseBody);
return responseBody;
}
diff --git a/Frontend/src/views/JsonFormatterView.vue b/Frontend/src/views/JsonFormatterView.vue
index 1f14dc5..40b6504 100644
--- a/Frontend/src/views/JsonFormatterView.vue
+++ b/Frontend/src/views/JsonFormatterView.vue
@@ -1,67 +1,8 @@
-
-
-
JSON Formatter
-
-
-
-
-
setExample(data)">
-
Clear
-
format(data)" @update:error="setErrorOccurred">
-
format(data)" @update:error="setErrorOccurred">
-
-
-
-
+
\ No newline at end of file
diff --git a/Frontend/src/views/XmlFormatterView.vue b/Frontend/src/views/XmlFormatterView.vue
index c53ad09..320c62c 100644
--- a/Frontend/src/views/XmlFormatterView.vue
+++ b/Frontend/src/views/XmlFormatterView.vue
@@ -1,66 +1,8 @@
-
-
-
XML Formatter
-
-
-
-
-
setExample(data)">
-
Clear
-
format(data)">
-
format(data)">
-
-
-
-
+
\ No newline at end of file