refactor: simplify free turn display in appointment components
This commit is contained in:
@@ -45,7 +45,7 @@ function ItemAppointment({ turn, loading }) {
|
||||
<TextLoading width={100} height={15} loading={loading}>
|
||||
<p className="text-[#05BA58] text-[12px] font-medium">
|
||||
{turn?.free_turn
|
||||
? `اولین نوبت آزاد: ${turn?.free_turn}`
|
||||
? ` ${turn?.free_turn}`
|
||||
: "نوبت ندارد"}
|
||||
</p>
|
||||
</TextLoading>
|
||||
|
||||
Reference in New Issue
Block a user