mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-06-18 21:15:16 +02:00
chore: linting
This commit is contained in:
parent
c9afeb2817
commit
0729e5a915
2 changed files with 4 additions and 6 deletions
|
|
@ -44,9 +44,8 @@ export function DashboardClientLayout({
|
|||
);
|
||||
const { data: modelConnections = [], isLoading: modelConnectionsLoading } =
|
||||
useAtomValue(modelConnectionsAtom);
|
||||
const { data: globalConfigStatus, isLoading: globalConfigStatusLoading } = useAtomValue(
|
||||
globalLlmConfigStatusAtom
|
||||
);
|
||||
const { data: globalConfigStatus, isLoading: globalConfigStatusLoading } =
|
||||
useAtomValue(globalLlmConfigStatusAtom);
|
||||
|
||||
const { data: access = null, isLoading: accessLoading } = useAtomValue(myAccessAtom);
|
||||
const [hasCheckedOnboarding, setHasCheckedOnboarding] = useState(false);
|
||||
|
|
|
|||
|
|
@ -25,9 +25,8 @@ export default function OnboardPage() {
|
|||
);
|
||||
const { data: connections = [] } = useAtomValue(modelConnectionsAtom);
|
||||
const { data: roles = {}, isLoading: rolesLoading } = useAtomValue(modelRolesAtom);
|
||||
const { data: globalConfigStatus, isLoading: globalConfigStatusLoading } = useAtomValue(
|
||||
globalLlmConfigStatusAtom
|
||||
);
|
||||
const { data: globalConfigStatus, isLoading: globalConfigStatusLoading } =
|
||||
useAtomValue(globalLlmConfigStatusAtom);
|
||||
|
||||
useEffect(() => {
|
||||
if (!getBearerToken()) redirectToLogin();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue