style: my profile page (#608)

This commit is contained in:
Aaryan Khandelwal 2023-03-30 17:04:41 +05:30 committed by GitHub
parent 5feaed3961
commit ed4aae47a2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 477 additions and 351 deletions

View file

@ -47,9 +47,9 @@ const WorkspaceSettings: NextPage<UserAuth> = (props) => {
const [isImageUploading, setIsImageUploading] = useState(false);
const [isImageUploadModalOpen, setIsImageUploadModalOpen] = useState(false);
const {
query: { workspaceSlug },
} = useRouter();
const router = useRouter();
const { workspaceSlug } = router.query;
const { setToastAlert } = useToast();
const { data: activeWorkspace } = useSWR(