CFE-1 working on call history of callers and base design completed
This commit is contained in:
@@ -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={{
|
||||
|
||||
Reference in New Issue
Block a user