mirror of
https://github.com/Jellify-Music/App.git
synced 2026-04-25 20:39:23 -05:00
fix bug on selecting library on sign in
This commit is contained in:
@@ -7,11 +7,9 @@ import _ from "lodash";
|
||||
import { useMusicLibraries, usePlaylistLibrary } from "../../../api/queries/libraries";
|
||||
import { SafeAreaView } from "react-native-safe-area-context";
|
||||
import Client from "../../../api/client";
|
||||
import { useJellifyContext } from "../../../components/provider";
|
||||
|
||||
export default function ServerLibrary(): React.JSX.Element {
|
||||
|
||||
const { setLoggedIn } = useJellifyContext()
|
||||
const { setUser } = useAuthenticationContext();
|
||||
|
||||
const [libraryId, setLibraryId] = useState<string | undefined>(undefined);
|
||||
@@ -56,7 +54,6 @@ export default function ServerLibrary(): React.JSX.Element {
|
||||
playlistLibraryId: playlistLibrary!.Id!,
|
||||
playlistLibraryPrimaryImageId: playlistLibrary!.ImageTags!.Primary,
|
||||
});
|
||||
setLoggedIn(true);
|
||||
}}>
|
||||
Let's Go!
|
||||
</Button>
|
||||
|
||||
Reference in New Issue
Block a user