(wip): migrate ttp to mtp
This commit is contained in:
parent
b1e8af7ec3
commit
20018f09a9
163 changed files with 8342 additions and 2609 deletions
|
|
@ -1,7 +1,7 @@
|
|||
import * as React from "react";
|
||||
import { useTTP } from "@tensamin/ttp";
|
||||
import { useMTP } from "@tensamin/mtp";
|
||||
|
||||
import { ttp as schemas } from "@tensamin/shared/data";
|
||||
import { mtp as schemas } from "@tensamin/shared/data";
|
||||
import type z from "zod";
|
||||
|
||||
export type User = z.infer<typeof schemas.get_user_data.response>;
|
||||
|
|
@ -23,7 +23,7 @@ export default function UserProvider(props: { children: React.ReactNode }) {
|
|||
{},
|
||||
);
|
||||
|
||||
const { send } = useTTP();
|
||||
const { send } = useMTP();
|
||||
|
||||
/**
|
||||
* Executes get.
|
||||
|
|
|
|||
Loading…
Reference in a new issue