Run npm lint:fix

This commit is contained in:
2025-05-18 16:57:48 +02:00
parent 16fbbec992
commit 2f181d0f7f
34 changed files with 85 additions and 68 deletions

View File

@@ -12,7 +12,7 @@ import {
refreshToken as apiRefreshToken,
getCurrentUser,
} from '@/api/auth';
import { User } from '@/types/authApi';
import type { User } from '@/types/authApi';
interface AuthContextType {
user: User | null;

View File

@@ -1,4 +1,5 @@
import React, { createContext, useContext, useState, ReactNode } from 'react';
import type { ReactNode } from 'react';
import React, { createContext, useContext, useState } from 'react';
interface ModalContextType {
newFileModalVisible: boolean;

View File

@@ -1,12 +1,14 @@
import type {
ReactNode} from 'react';
import React, {
createContext,
useContext,
useState,
useEffect,
useCallback,
ReactNode,
useCallback
} from 'react';
import { MantineColorScheme, useMantineColorScheme } from '@mantine/core';
import type { MantineColorScheme} from '@mantine/core';
import { useMantineColorScheme } from '@mantine/core';
import { notifications } from '@mantine/notifications';
import {
getLastWorkspaceName,
@@ -16,7 +18,8 @@ import {
deleteWorkspace,
listWorkspaces,
} from '@/api/workspace';
import { Workspace, DEFAULT_WORKSPACE_SETTINGS } from '@/types/workspace';
import type { Workspace} from '@/types/workspace';
import { DEFAULT_WORKSPACE_SETTINGS } from '@/types/workspace';
interface WorkspaceContextType {
currentWorkspace: Workspace | null;