Skip to content

Commit

Permalink
Merge pull request #1815 from ever-co/fix/terminal-errors
Browse files Browse the repository at this point in the history
Fix/Browser terminal errors and warning
  • Loading branch information
evereq authored Nov 17, 2023
2 parents 955c75b + fe06e43 commit dd8379e
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 3 deletions.
1 change: 1 addition & 0 deletions apps/web/lib/components/color-picker.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ export const ColorPicker = ({
ref={buttonRef}
disabled={disableButton}
onClick={toggleDisabled}
as="div"
>
<div
className={`relative w-[100%] h-[48px] border rounded-[10px] flex items-center justify-between input-border ${
Expand Down
1 change: 1 addition & 0 deletions apps/web/lib/components/emoji-picker.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ export const EmojiPicker = ({
ref={buttonRef}
disabled={disableButton}
onClick={toggleDisabled}
as="div"
>
<div
className={` relative w-[100%] h-[48px] ${
Expand Down
2 changes: 1 addition & 1 deletion apps/web/lib/settings/page-dropdown.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ export const PaginationDropdown = ({
'py-0 font-medium h-[45px] w-[145px] z-10 outline-none dark:bg-dark--theme-light',
paginationList.length === 0 && ['py-2']
)}
value={paginationItem}
value={paginationItem || null}
onChange={onChangeActiveTeam}
items={items}
optionsClassName={'outline-none'}
Expand Down
2 changes: 1 addition & 1 deletion apps/web/lib/settings/period-dropdown.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export const PeriodDropdown = ({
<Dropdown
className="min-w-[150px] max-w-sm"
buttonClassName={clsxm('py-0 font-medium h-[54px] w-[150px]', PeriodList.length === 0 && ['py-2'])}
value={PeriodItem}
value={PeriodItem || null}
onChange={onChangeActiveTeam}
items={items}
></Dropdown>
Expand Down
2 changes: 1 addition & 1 deletion apps/web/lib/settings/proof-dropdown.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ export const ProofDropdown = ({
'py-0 font-medium h-[54px] w-[150px] w-full',
ProofList.length === 0 && ['py-2']
)}
value={ProofItem}
value={ProofItem || null}
onChange={onChangeActiveTeam}
items={items}
></Dropdown>
Expand Down
1 change: 1 addition & 0 deletions apps/web/lib/settings/team-size-popover.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ const TeamSize = ({
ref={buttonRef}
disabled={disableButton}
onClick={toggleDisabled}
as="div"
>
<div
className={`relative w-[100%] h-[48px] ${
Expand Down

0 comments on commit dd8379e

Please sign in to comment.