From 20df3dc3ac3f81380b072303475ec745c61a72de Mon Sep 17 00:00:00 2001 From: m5r Date: Tue, 19 Oct 2021 19:59:55 +0200 Subject: [PATCH] inbound and missed call icons in phone calls list --- app/phone-calls/components/phone-calls-list.tsx | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/app/phone-calls/components/phone-calls-list.tsx b/app/phone-calls/components/phone-calls-list.tsx index 244c22f..493f2c4 100644 --- a/app/phone-calls/components/phone-calls-list.tsx +++ b/app/phone-calls/components/phone-calls-list.tsx @@ -1,12 +1,12 @@ import { useEffect } from "react"; -import { HiPhoneMissedCall, HiPhoneOutgoing } from "react-icons/hi"; +import { HiPhoneMissedCall, HiPhoneIncoming, HiPhoneOutgoing } from "react-icons/hi"; import clsx from "clsx"; -import { Direction } from "../../../db"; -import PhoneInitLoader from "../../core/components/phone-init-loader"; +import { Direction, CallStatus } from "db"; +import PhoneInitLoader from "app/core/components/phone-init-loader"; import EmptyCalls from "../components/empty-calls"; import usePhoneCalls from "../hooks/use-phone-calls"; -import { formatRelativeDate } from "../../core/helpers/date-formatter"; +import { formatRelativeDate } from "app/core/helpers/date-formatter"; export default function PhoneCallsList() { const [phoneCalls, query] = usePhoneCalls(); @@ -30,7 +30,8 @@ export default function PhoneCallsList() {