mirror of
https://github.com/bknd-io/bknd/
synced 2026-08-02 16:16:02 +00:00
introduced auth strategy actions to allow user creation in UI
This commit is contained in:
@@ -22,15 +22,6 @@ export class UseEntityApiError<Payload = any> extends Error {
|
||||
}
|
||||
}
|
||||
|
||||
function Test() {
|
||||
const { read } = useEntity("users");
|
||||
async () => {
|
||||
const data = await read();
|
||||
};
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
export const useEntity = <
|
||||
Entity extends keyof DB | string,
|
||||
Id extends PrimaryFieldType | undefined = undefined,
|
||||
|
||||
Reference in New Issue
Block a user