Fix user not getting deleted on server change
This commit is contained in:
2 files changed
+3
-3
No files matched your search
+1
-3
@@ -97,7 +97,7 @@ import { useQuery } from "@tanstack/react-query";
|
||||
import { CircularProgress } from "@mui/material";
|
||||
import { ReactQueryDevtools } from "@tanstack/react-query-devtools";
|
||||
import { getSystemApi } from "@jellyfin/sdk/lib/utils/api/system-api";
|
||||
import { setServerReachability, useServerStore } from "./utils/store/server";
|
||||
import { useServerStore } from "./utils/store/server";
|
||||
|
||||
const anim = {
|
||||
initial: {
|
||||
@@ -261,8 +261,6 @@ function App() {
|
||||
state.isPending,
|
||||
]);
|
||||
|
||||
const [serverReachable] = useServerStore((state) => [state.reachable]);
|
||||
|
||||
const { enqueueSnackbar } = useSnackbar();
|
||||
|
||||
const serverSaved = async () => {
|
||||
|
||||
Reference in new issue
Block a user