From 6b79f43da9cbc1438a2c5d4acaac64111e39657e Mon Sep 17 00:00:00 2001 From: Moritz Heckmann Date: Wed, 15 Nov 2023 10:49:27 +0100 Subject: [PATCH] fixed storybook --- package.json | 1 - src/components/PermissionChooser.tsx | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/package.json b/package.json index 50de03a32..17cb352b6 100644 --- a/package.json +++ b/package.json @@ -285,7 +285,6 @@ "@mantine/hooks": "~6.0.19", "@mantine/modals": "~6.0.19", "@mantine/notifications": "~6.0.19", - "@mantine/styles": "~6.0.19", "@mantine/tiptap": "~6.0.19", "@types/d3-hexbin": "^0.2.3", "@types/d3v7": "npm:@types/d3@^7.4.0", diff --git a/src/components/PermissionChooser.tsx b/src/components/PermissionChooser.tsx index 26f90b4a8..2047c451f 100644 --- a/src/components/PermissionChooser.tsx +++ b/src/components/PermissionChooser.tsx @@ -1,6 +1,5 @@ import * as React from 'react'; import uniqueId from 'lodash/uniqueId'; -import { DefaultProps } from '@mantine/styles'; import { Box, Button, ChevronIcon, Collapse, Text, Group, Radio, Stack, TextInput, SegmentedControl, Select } from '@mantine/core'; import { EPermission, Permission, UserUtils, userSession } from '../security'; import { i18n } from '../i18n'; @@ -85,7 +84,7 @@ function PermissionsEntry({ ); } -interface PermissionChooserProps extends DefaultProps { +interface PermissionChooserProps { permission: Permission; buddies: string[]; group: string;