mirror of
https://github.com/lordmathis/lemma.git
synced 2025-11-07 00:14:25 +00:00
Run npm lint:fix
This commit is contained in:
@@ -8,7 +8,7 @@ import {
|
||||
Button,
|
||||
Group,
|
||||
} from '@mantine/core';
|
||||
import { CreateUserRequest } from '@/types/adminApi';
|
||||
import type { CreateUserRequest } from '@/types/adminApi';
|
||||
import { UserRole } from '@/types/authApi';
|
||||
|
||||
interface CreateUserModalProps {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import React from 'react';
|
||||
import { Modal, Text, Button, Group, Stack } from '@mantine/core';
|
||||
import { User } from '@/types/authApi';
|
||||
import type { User } from '@/types/authApi';
|
||||
|
||||
interface DeleteUserModalProps {
|
||||
opened: boolean;
|
||||
|
||||
@@ -9,8 +9,9 @@ import {
|
||||
PasswordInput,
|
||||
Text,
|
||||
} from '@mantine/core';
|
||||
import { UpdateUserRequest } from '@/types/adminApi';
|
||||
import { User, UserRole } from '@/types/authApi';
|
||||
import type { UpdateUserRequest } from '@/types/adminApi';
|
||||
import type { User} from '@/types/authApi';
|
||||
import { UserRole } from '@/types/authApi';
|
||||
|
||||
interface EditUserModalProps {
|
||||
opened: boolean;
|
||||
|
||||
@@ -2,7 +2,7 @@ import React, { useState } from 'react';
|
||||
import { Modal, TextInput, Button, Group, Box } from '@mantine/core';
|
||||
import { useModalContext } from '../../../contexts/ModalContext';
|
||||
import { notifications } from '@mantine/notifications';
|
||||
import { Workspace } from '@/types/workspace';
|
||||
import type { Workspace } from '@/types/workspace';
|
||||
import { createWorkspace } from '@/api/workspace';
|
||||
|
||||
interface CreateWorkspaceModalProps {
|
||||
|
||||
Reference in New Issue
Block a user