mirror of
https://github.com/lordmathis/lemma.git
synced 2025-11-07 16:34:26 +00:00
Run npm lint:fix
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user