fix: useSigitProfiles dep, map item keys warnining, sign button styles, placeholder, optional button label #160

Merged
enes merged 7 commits from fix-collection-21-8 into staging 2024-08-21 11:15:45 +00:00
Member
No description provided.
enes added 5 commits 2024-08-21 09:33:36 +00:00
Fix issue caused by styles change from 6f88f22933
fix: useSigitProfile dep
All checks were successful
Open PR on Staging / audit_and_check (pull_request) Successful in 32s
329fd3d27b
Remove unecessary dep and disable lint line
enes added 1 commit 2024-08-21 09:37:15 +00:00
refactor(toolbox): make Text default
All checks were successful
Open PR on Staging / audit_and_check (pull_request) Successful in 32s
7b33e37ca5
eugene reviewed 2024-08-21 10:49:01 +00:00
@ -42,3 +44,3 @@
</div>
<Button variant="contained" fullWidth onClick={handleDownload}>
Download Files
{downloadLabel ? downloadLabel : 'Download Files'}
Owner

You can probably use the ?? operator. Should Download Files be a constant?

You can probably use the `??` operator. Should `Download Files` be a constant?
Owner

|| (logical OR) should be used instead of ?? (Nullish Coalescing).
With ?? if downloadLabel is blank string it will return blank but with || we will get default value Download Files

`||` (logical OR) should be used instead of `??` (Nullish Coalescing). With `??` if downloadLabel is blank string it will return blank but with `||` we will get default value `Download Files`
eugene approved these changes 2024-08-21 10:49:28 +00:00
enes added 1 commit 2024-08-21 11:12:10 +00:00
fix: review suggestion
All checks were successful
Open PR on Staging / audit_and_check (pull_request) Successful in 33s
15d4d0a752
enes merged commit eb08760f87 into staging 2024-08-21 11:15:45 +00:00
enes deleted branch fix-collection-21-8 2024-08-21 11:15:45 +00:00
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: sigit/sigit.io#160
No description provided.