Skip to content

Commit

Permalink
chore(addtile): removed if/else statment
Browse files Browse the repository at this point in the history
  • Loading branch information
SharmaTarun1111111 committed Jul 11, 2023
1 parent 0cb4ad7 commit de22b75
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions next-tavla/src/Admin/scenarios/AddTile/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,7 @@ function AddTile() {
clearable
prepend={<SearchIcon />}
onChange={(e) => {
if (e?.value) setTileValue(e.value)
else setTileValue(undefined)
setTileValue(e?.value)
}}
/>

Expand Down

0 comments on commit de22b75

Please sign in to comment.