Skip to content

Commit

Permalink
Shown only the tag if there is no description
Browse files Browse the repository at this point in the history
  • Loading branch information
codeAbinash committed Jun 28, 2023
1 parent 54dc5e6 commit 6ca94dd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pages/viewRoutine/RoutineView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -183,8 +183,8 @@ function deleteRoutine(index: number, setIsShow: Function, navigate: Function, e
}

function RoutineDescription(routine: Routine) {
if (!routine.description)
return
// if (!routine.description)
// return
return <div className="description">
{/* <p className='text-xs text-grey'>Description </p> */}
<p className='text-sm p-4 bg-inputBg dark:bg-[#222] font-[430] rounded-xl mt-2 tap99'>{routine.description}
Expand Down

0 comments on commit 6ca94dd

Please sign in to comment.