diff --git a/src/Components/Input/TextAreaInput.spec.tsx b/src/Components/Input/TextAreaInput.spec.tsx
index 2f150704..0fe0a40f 100644
--- a/src/Components/Input/TextAreaInput.spec.tsx
+++ b/src/Components/Input/TextAreaInput.spec.tsx
@@ -1,8 +1,6 @@
import { render, screen, fireEvent } from '@testing-library/react'
import { describe, it, expect, beforeEach, vi } from 'vitest'
-import { TagsProvider } from '#components/Map/hooks/useTags'
-
import { TextAreaInput } from './TextAreaInput'
describe('', () => {
@@ -12,19 +10,7 @@ describe('', () => {
beforeEach(() => {
vi.clearAllMocks()
- wrapper = render(
-
-
- ,
- )
+ wrapper = render()
})
it('renders properly', () => {
diff --git a/src/Components/Input/TextAreaInput.tsx b/src/Components/Input/TextAreaInput.tsx
index b9a539e3..660b0990 100644
--- a/src/Components/Input/TextAreaInput.tsx
+++ b/src/Components/Input/TextAreaInput.tsx
@@ -1,7 +1,5 @@
import { useEffect, useRef, useState } from 'react'
-import { useTags } from '#components/Map/hooks/useTags'
-
interface TextAreaProps {
labelTitle?: string
labelStyle?: string
@@ -14,8 +12,6 @@ interface TextAreaProps {
updateFormValue?: (value: string) => void
}
-type KeyValue = Record
-
/**
* @category Input
*/
@@ -33,15 +29,6 @@ export function TextAreaInput({
const ref = useRef(null)
const [inputValue, setInputValue] = useState(defaultValue)
- const tags = useTags()
-
- // Why this variable? It seems not to be used at all
- const values: KeyValue[] = []
-
- tags.forEach((tag) => {
- values.push({ key: tag.name, value: tag.name, color: tag.color })
- })
-
useEffect(() => {
setInputValue(defaultValue)
}, [defaultValue])