@@ -123,7 +123,7 @@ export function AuthProvider({ children }: { children: React.ReactNode }) {
123123 } else {
124124 setSession ( res . data . session ) ;
125125 setServerReachable ( true ) ;
126- supabase . auth . startAutoRefresh ( ) ;
126+ void supabase . auth . startAutoRefresh ( ) ;
127127 }
128128 } ;
129129
@@ -149,20 +149,20 @@ export function AuthProvider({ children }: { children: React.ReactNode }) {
149149
150150 const unlistenFocus = appWindow . listen ( "tauri://focus" , ( ) => {
151151 if ( serverReachable ) {
152- supabase . auth . startAutoRefresh ( ) ;
152+ void supabase . auth . startAutoRefresh ( ) ;
153153 }
154154 } ) ;
155155 const unlistenBlur = appWindow . listen ( "tauri://blur" , ( ) => {
156- supabase . auth . stopAutoRefresh ( ) ;
156+ void supabase . auth . stopAutoRefresh ( ) ;
157157 } ) ;
158158
159- onOpenUrl ( ( [ url ] ) => {
160- handleAuthCallback ( url ) ;
159+ void onOpenUrl ( ( [ url ] ) => {
160+ void handleAuthCallback ( url ) ;
161161 } ) ;
162162
163163 return ( ) => {
164- unlistenFocus . then ( ( fn ) => fn ( ) ) ;
165- unlistenBlur . then ( ( fn ) => fn ( ) ) ;
164+ void unlistenFocus . then ( ( fn ) => fn ( ) ) ;
165+ void unlistenBlur . then ( ( fn ) => fn ( ) ) ;
166166 } ;
167167 } , [ serverReachable ] ) ;
168168
@@ -198,14 +198,14 @@ export function AuthProvider({ children }: { children: React.ReactNode }) {
198198 ) {
199199 setServerReachable ( false ) ;
200200 setSession ( data . session ) ;
201- supabase . auth . startAutoRefresh ( ) ;
201+ void supabase . auth . startAutoRefresh ( ) ;
202202 return ;
203203 }
204204 }
205205 if ( refreshData . session ) {
206206 setSession ( refreshData . session ) ;
207207 setServerReachable ( true ) ;
208- supabase . auth . startAutoRefresh ( ) ;
208+ void supabase . auth . startAutoRefresh ( ) ;
209209 }
210210 }
211211 } catch ( e ) {
@@ -223,14 +223,14 @@ export function AuthProvider({ children }: { children: React.ReactNode }) {
223223 }
224224 } ;
225225
226- initSession ( ) ;
226+ void initSession ( ) ;
227227
228228 const {
229229 data : { subscription } ,
230230 } = supabase . auth . onAuthStateChange ( ( event , session ) => {
231231 if ( event === "TOKEN_REFRESHED" && ! session ) {
232232 if ( isLocalAuthServer ( env . VITE_SUPABASE_URL ) ) {
233- clearAuthStorage ( ) ;
233+ void clearAuthStorage ( ) ;
234234 setServerReachable ( false ) ;
235235 }
236236 }
0 commit comments