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

@@ -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 {

View File

@@ -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;

View File

@@ -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;

View File

@@ -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 {