CFE-1 working on call history of callers and base design completed

This commit is contained in:
2023-10-21 17:26:33 +03:30
parent 53f17f786d
commit 3286f6d0e3
9 changed files with 150 additions and 5 deletions

View File

@@ -17,7 +17,11 @@ export const AnswersContext = createContext()
export const AnswersProvider = ({children}) => {
const [openCallDialog, setOpenCallDialog] = useState(false)
const [activeTab, setActiveTab] = useState(0)
const [state, dispatch] = useReducer(reducer, []);
const [state, dispatch] = useReducer(reducer, [{
id: 2,
phone_number: "09036949387",
active: true
}]);
return <AnswersContext.Provider
value={{