mirror of
				https://github.com/zoriya/Kyoo.git
				synced 2025-11-04 03:27:14 -05:00 
			
		
		
		
	Fix unlogged account error not showing
This commit is contained in:
		
							parent
							
								
									e4f00d34bc
								
							
						
					
					
						commit
						78247acba7
					
				@ -164,7 +164,7 @@ export const AccountProvider = ({
 | 
			
		||||
		<AccountContext.Provider value={accounts}>
 | 
			
		||||
			<ConnectionErrorContext.Provider
 | 
			
		||||
				value={{
 | 
			
		||||
					error: selected ? initialSsrError.current ?? user.error ?? permissionError : null,
 | 
			
		||||
					error: (selected ? initialSsrError.current ?? user.error : null) ?? permissionError,
 | 
			
		||||
					loading: user.isLoading,
 | 
			
		||||
					retry: () => {
 | 
			
		||||
						queryClient.invalidateQueries({ queryKey: ["auth", "me"] });
 | 
			
		||||
 | 
			
		||||
@ -26,7 +26,6 @@ import { useTranslation } from "react-i18next";
 | 
			
		||||
import { View } from "react-native";
 | 
			
		||||
import { useYoshiki } from "yoshiki/native";
 | 
			
		||||
import { DefaultLayout } from "../layout";
 | 
			
		||||
import { ErrorView } from "./error";
 | 
			
		||||
import Register from "@material-symbols/svg-400/rounded/app_registration.svg";
 | 
			
		||||
 | 
			
		||||
export const ConnectionError = () => {
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user