pl-fe: migrate /api/v*/instance to tanstack query
Signed-off-by: mkljczk <git@mkljczk.pl>
This commit is contained in:
@ -1,6 +0,0 @@
|
||||
import { useAppSelector } from './use-app-selector';
|
||||
|
||||
/** Get the Instance for the current backend. */
|
||||
const useInstance = () => useAppSelector((state) => state.instance);
|
||||
|
||||
export { useInstance };
|
||||
Reference in New Issue
Block a user