Revert "pl-fe: migrate /api/v*/instance to tanstack query"

This reverts commit 1f8b79f309.
This commit is contained in:
mkljczk
2024-12-03 15:20:51 +01:00
parent 76b8ff2819
commit 6472a5e4e2
79 changed files with 337 additions and 240 deletions

View File

@ -0,0 +1,6 @@
import { useAppSelector } from './use-app-selector';
/** Get the Instance for the current backend. */
const useInstance = () => useAppSelector((state) => state.instance);
export { useInstance };