From 4a5c07ec3d53e6bd555df940ea428f47390470a6 Mon Sep 17 00:00:00 2001 From: Anton Tranelis Date: Thu, 8 Feb 2024 12:41:13 +0100 Subject: [PATCH] going back to old simple text editor --- src/Components/Profile/OverlayProfileSettings.tsx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/Components/Profile/OverlayProfileSettings.tsx b/src/Components/Profile/OverlayProfileSettings.tsx index b41c6cab..b57081d3 100644 --- a/src/Components/Profile/OverlayProfileSettings.tsx +++ b/src/Components/Profile/OverlayProfileSettings.tsx @@ -1,6 +1,6 @@ import * as React from 'react' import { useItems, useUpdateItem } from '../Map/hooks/useItems' -import { useEffect, useState } from 'react'; +import { useState } from 'react'; import { getValue } from '../../Utils/GetValue'; import ReactCrop, { Crop, centerCrop, makeAspectCrop } from 'react-image-crop'; import { toast } from 'react-toastify'; @@ -15,7 +15,6 @@ import { randomColor } from '../../Utils/RandomColor'; import { useNavigate } from 'react-router-dom'; import { UserItem } from '../../types'; import { MapOverlayPage } from '../Templates'; -import {TextEditor} from './Editor'; export function OverlayProfileSettings() { @@ -216,7 +215,7 @@ export function OverlayProfileSettings() {
setActiveTab(1)} />
- setText(v)} > + setText(v)} containerStyle='tw-h-full' inputStyle='tw-h-full'/>
setActiveTab(2)} />