chore: add copy button

Signed-off-by: Adithya Krishna <aadithya794@gmail.com>
This commit is contained in:
Adithya Krishna
2024-05-01 17:57:31 +05:30
parent c60bcc6309
commit 23672d47f1
2 changed files with 3 additions and 2 deletions

View File

@ -19,7 +19,8 @@ export default async function PublicProfileSettingsPage() {
<SettingsHeader
title="Public profile"
subtitle="You can choose to enable/disable your profile for public view"
className="justify"
className="justify mb-8"
hideDivider
>
<div className="flex flex-row">
<label className="mr-2 text-white" htmlFor="hide">

View File

@ -71,7 +71,7 @@ export const PublicProfileForm = ({ className, user }: PublicProfileFormProps) =
try {
await updatePublicProfile({
url,
bio: bio ?? '',
bio,
});
toast({