feat: randomize color on label create (#1839)

fix: create label state being persisted after edit label
This commit is contained in:
Dakshesh Jain
2023-08-11 17:42:47 +05:30
committed by GitHub
parent cd5e5b96da
commit 7becec4ee9
4 changed files with 199 additions and 155 deletions

View File

@@ -133,6 +133,11 @@ const LabelsSettings: NextPage = () => {
setLabelForm={setLabelForm}
isUpdating={isUpdating}
labelToUpdate={labelToUpdate}
onClose={() => {
setLabelForm(false);
setIsUpdating(false);
setLabelToUpdate(null);
}}
ref={scrollToRef}
/>
)}