🚨 Warnings

This commit is contained in:
Manuel Ruwe
2022-12-10 15:45:15 +01:00
parent 89e11afce1
commit 7f508ed06d
3 changed files with 8 additions and 19 deletions

View File

@@ -1,21 +1,9 @@
/* eslint-disable @next/next/no-img-element */
import {
Alert,
Card,
Group,
PasswordInput,
Select,
SelectItem,
Space,
Text,
TextInput,
} from '@mantine/core';
import { Group, Select, SelectItem, Text } from '@mantine/core';
import { UseFormReturnType } from '@mantine/form';
import { IconKey, IconUser } from '@tabler/icons';
import { useTranslation } from 'next-i18next';
import { forwardRef, useState } from 'react';
import { ServiceType } from '../../../../../../../../../types/service';
import { TextExplanation } from '../TextExplanation/TextExplanation';
import { ServiceType } from '../../../../../../../../types/service';
interface IntegrationSelectorProps {
form: UseFormReturnType<ServiceType, (item: ServiceType) => ServiceType>;

View File

@@ -46,7 +46,10 @@ export const AvailableElementTypes = ({
onClickUrl: '',
},
area: {
type: 'wrapper',
type: 'sidebar',
properties: {
location: 'right',
},
},
shape: {
location: {

View File

@@ -1,12 +1,11 @@
import { ActionIcon, Button, Group, Text } from '@mantine/core';
import { Button, Text } from '@mantine/core';
import { IconArrowNarrowLeft } from '@tabler/icons';
interface SelectorBackArrowProps {
onClickBack: () => void;
}
export const SelectorBackArrow = ({ title, onClickBack }: SelectorBackArrowProps) => {
return (
export const SelectorBackArrow = ({ onClickBack }: SelectorBackArrowProps) => (
<Button
leftIcon={<IconArrowNarrowLeft />}
onClick={onClickBack}
@@ -18,4 +17,3 @@ export const SelectorBackArrow = ({ title, onClickBack }: SelectorBackArrowProps
<Text>See all available elements</Text>
</Button>
);
};