mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-04-25 00:36:31 +02:00
chore: linting
This commit is contained in:
parent
82b5c7f19e
commit
91ea293fa2
14 changed files with 285 additions and 264 deletions
|
|
@ -1,6 +1,6 @@
|
|||
"use client";
|
||||
|
||||
import { createContext, useEffect, useState, type ReactNode } from "react";
|
||||
import { createContext, type ReactNode, useEffect, useState } from "react";
|
||||
|
||||
export interface PlatformContextValue {
|
||||
isDesktop: boolean;
|
||||
|
|
@ -25,7 +25,5 @@ export function PlatformProvider({ children }: { children: ReactNode }) {
|
|||
setValue({ isDesktop, isWeb: !isDesktop, electronAPI: api });
|
||||
}, []);
|
||||
|
||||
return (
|
||||
<PlatformContext.Provider value={value}>{children}</PlatformContext.Provider>
|
||||
);
|
||||
return <PlatformContext.Provider value={value}>{children}</PlatformContext.Provider>;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue