File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/components/Profile/components Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -32,8 +32,8 @@ const PublicProfile: React.FC<PublicProfileProps> = ({
32
32
} ) => {
33
33
const dispatch = useAppDispatch ( )
34
34
const [ fullName , setFullName ] = useState < string > ( username )
35
- const [ totalSent , setTotalSent ] = useState < string > ( '0' )
36
- const [ totalReceived , setTotalReceived ] = useState < string > ( '0' )
35
+ const [ totalSent , setTotalSent ] = useState < string > ( '0.00 ' )
36
+ const [ totalReceived , setTotalReceived ] = useState < string > ( '0.00 ' )
37
37
const { user } = useAuth ( )
38
38
const router = useRouter ( )
39
39
@@ -100,7 +100,7 @@ const PublicProfile: React.FC<PublicProfileProps> = ({
100
100
</ Link >
101
101
</ div >
102
102
103
- { ! ! user && (
103
+ { totalSent !== '0.00' && totalReceived !== '0.00' && (
104
104
< div className = "space-y-6" >
105
105
< div >
106
106
< Card position = "first" >
You can’t perform that action at this time.
0 commit comments