summaryrefslogtreecommitdiff
path: root/src/components/settings/AboutMe.tsx
diff options
context:
space:
mode:
authorl3wdfut4pwr <l3wdfut4pwr@gmail.com>2026-04-27 13:45:25 +0300
committerl3wdfut4pwr <l3wdfut4pwr@gmail.com>2026-04-27 13:45:25 +0300
commitab330c64eeed9edfc2a6ef6a6f5cd38587ba0996 (patch)
tree9ca46c6552e427a9461387dc63362be0f9301acb /src/components/settings/AboutMe.tsx
parentc7d2526afec5ffb8918c20d7c1c58852f1c647bd (diff)
add username change and logout
Diffstat (limited to 'src/components/settings/AboutMe.tsx')
-rw-r--r--src/components/settings/AboutMe.tsx6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/components/settings/AboutMe.tsx b/src/components/settings/AboutMe.tsx
index b065a26..769885a 100644
--- a/src/components/settings/AboutMe.tsx
+++ b/src/components/settings/AboutMe.tsx
@@ -1,10 +1,12 @@
import { useState } from 'react';
-
+import { ChangeEvent } from 'react';
+import { Input } from '@/components/ui/input';
+import { Button } from '@/components/ui/button';
export default function AboutMe() {
const maxLength = 250;
const [text, setText] = useState('');
- const handleChange = (e) => {
+ const handleChange = (e: ChangeEvent<HTMLInputElement>) => {
const value = e.target.value;
if (value.length <= maxLength) {