(wip): migrate ttp to mtp
This commit is contained in:
parent
b1e8af7ec3
commit
20018f09a9
163 changed files with 8342 additions and 2609 deletions
|
|
@ -1,4 +1,4 @@
|
|||
import { useTTP } from "@tensamin/ttp";
|
||||
import { useMTP } from "@tensamin/mtp";
|
||||
import {
|
||||
createContext,
|
||||
type ReactNode,
|
||||
|
|
@ -21,7 +21,7 @@ interface SessionContextType {
|
|||
const SessionContext = createContext<SessionContextType | undefined>(undefined);
|
||||
|
||||
export default function SessionProvider({ children }: { children: ReactNode }) {
|
||||
const { freshContacts, freshCommunities, freshCalls } = useTTP();
|
||||
const { freshContacts, freshCommunities, freshCalls } = useMTP();
|
||||
const { load, save } = useStorage();
|
||||
const [contacts, setContacts] = useState<Contacts>([]);
|
||||
const [communities, setCommunities] = useState<Communities>([]);
|
||||
|
|
|
|||
Loading…
Reference in a new issue