This commit is contained in:
Quan HL
2023-10-02 12:07:07 +07:00
parent b25795e939
commit 5609851a50

View File

@@ -34,7 +34,12 @@ import {
import Avatar from "src/imgs/icons/Avatar.svg";
import GreenAvatar from "src/imgs/icons/Avatar-Green.svg";
import "./styles.scss";
import { getCurrentCall, saveCallHistory, saveCurrentCall } from "src/storage";
import {
deleteCurrentCall,
getCurrentCall,
saveCallHistory,
saveCurrentCall,
} from "src/storage";
import dayjs from "dayjs";
type PhoneProbs = {
@@ -192,6 +197,7 @@ export const Phone = ({
timeStamp: call.timeStamp,
});
}
deleteCurrentCall();
};
const handleDialPadClick = (value: string) => {