Commit 083ccd90 authored by tom's avatar tom

delete sign out button from profile page

parent 13ef7cdb
import { VStack, FormControl, FormLabel, Input, Button, Flex } from '@chakra-ui/react'; import { VStack, FormControl, FormLabel, Input } from '@chakra-ui/react';
import { useQuery } from '@tanstack/react-query'; import { useQuery } from '@tanstack/react-query';
import React from 'react'; import React from 'react';
...@@ -25,10 +25,7 @@ const MyProfile = () => { ...@@ -25,10 +25,7 @@ const MyProfile = () => {
return ( return (
<VStack maxW="412px" mt={ 12 } gap={ 5 } alignItems="stretch"> <VStack maxW="412px" mt={ 12 } gap={ 5 } alignItems="stretch">
<Flex justifyContent="space-between" alignItems="center"> <UserAvatar size={ 64 } data={ data }/>
<UserAvatar size={ 64 } data={ data }/>
<Button size="sm" variant="secondary">Sign Out</Button>
</Flex>
<FormControl variant="floating" id="name" isRequired size="lg"> <FormControl variant="floating" id="name" isRequired size="lg">
<Input <Input
size="lg" size="lg"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment