feat: edit state, help button, loader while login in

This commit is contained in:
Dakshesh Jain 2022-11-24 20:23:50 +05:30
parent 97544c1760
commit b28dbaea30
8 changed files with 83 additions and 57 deletions

View file

@ -119,10 +119,10 @@ const WorkspaceSettings = () => {
<input {...getInputProps()} />
<div className="text-gray-500 mb-2">Logo</div>
<div>
<div className="h-60 bg-blue-50" {...getRootProps()}>
<div className="w-1/2 aspect-square bg-blue-50" {...getRootProps()}>
{((watch("logo") && watch("logo") !== null && watch("logo") !== "") ||
(image && image !== null)) && (
<div className="relative flex mx-auto h-60">
<div className="relative flex mx-auto h-full">
<Image
src={image ? URL.createObjectURL(image) : watch("logo") ?? ""}
alt="Workspace Logo"