From 75c15e0193120f26b958d226d811e59021345bf9 Mon Sep 17 00:00:00 2001 From: Joep Meindertsma Date: Tue, 9 Jan 2024 14:06:23 +0100 Subject: [PATCH] Lint fixes --- browser/data-browser/src/components/ProgressBar.tsx | 2 +- .../CustomCreateActions/CustomForms/NewCollectionDialog.tsx | 2 +- .../NewForm/CustomCreateActions/CustomForms/NewTableDialog.tsx | 2 +- .../data-browser/src/components/forms/NewForm/NewFormTitle.tsx | 2 +- browser/data-browser/src/routes/NewResource/ButtonSection.tsx | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/browser/data-browser/src/components/ProgressBar.tsx b/browser/data-browser/src/components/ProgressBar.tsx index c25f6a1bc..a3446c91d 100644 --- a/browser/data-browser/src/components/ProgressBar.tsx +++ b/browser/data-browser/src/components/ProgressBar.tsx @@ -1,4 +1,4 @@ -import styled from 'styled-components'; +import { styled } from 'styled-components'; interface ProgressBarProps { value: number; diff --git a/browser/data-browser/src/components/forms/NewForm/CustomCreateActions/CustomForms/NewCollectionDialog.tsx b/browser/data-browser/src/components/forms/NewForm/CustomCreateActions/CustomForms/NewCollectionDialog.tsx index 681e9c624..39b5d5841 100644 --- a/browser/data-browser/src/components/forms/NewForm/CustomCreateActions/CustomForms/NewCollectionDialog.tsx +++ b/browser/data-browser/src/components/forms/NewForm/CustomCreateActions/CustomForms/NewCollectionDialog.tsx @@ -1,4 +1,4 @@ -import { JSONValue, collections, core } from '@tomic/react'; +import { collections, core } from '@tomic/react'; import { useState, useCallback, FormEvent, useEffect, FC } from 'react'; import { Button } from '../../../../Button'; import { diff --git a/browser/data-browser/src/components/forms/NewForm/CustomCreateActions/CustomForms/NewTableDialog.tsx b/browser/data-browser/src/components/forms/NewForm/CustomCreateActions/CustomForms/NewTableDialog.tsx index f25619896..2b961f893 100644 --- a/browser/data-browser/src/components/forms/NewForm/CustomCreateActions/CustomForms/NewTableDialog.tsx +++ b/browser/data-browser/src/components/forms/NewForm/CustomCreateActions/CustomForms/NewTableDialog.tsx @@ -1,6 +1,6 @@ import { useResource, Core, dataBrowser, core, useStore } from '@tomic/react'; import { useState, useCallback, useEffect, FormEvent, FC } from 'react'; -import styled from 'styled-components'; +import { styled } from 'styled-components'; import { stringToSlug } from '../../../../../helpers/stringToSlug'; import { BetaBadge } from '../../../../BetaBadge'; import { Button } from '../../../../Button'; diff --git a/browser/data-browser/src/components/forms/NewForm/NewFormTitle.tsx b/browser/data-browser/src/components/forms/NewForm/NewFormTitle.tsx index 613d1b236..717917586 100644 --- a/browser/data-browser/src/components/forms/NewForm/NewFormTitle.tsx +++ b/browser/data-browser/src/components/forms/NewForm/NewFormTitle.tsx @@ -4,7 +4,7 @@ import { FaInfo } from 'react-icons/fa'; import { AtomicLink } from '../../AtomicLink'; import Markdown from '../../datatypes/Markdown'; import { Column, Row } from '../../Row'; -import styled from 'styled-components'; +import { styled } from 'styled-components'; import { IconButton, IconButtonVariant } from '../../IconButton/IconButton'; export enum NewFormTitleVariant { diff --git a/browser/data-browser/src/routes/NewResource/ButtonSection.tsx b/browser/data-browser/src/routes/NewResource/ButtonSection.tsx index 9a0a92a91..a8d503908 100644 --- a/browser/data-browser/src/routes/NewResource/ButtonSection.tsx +++ b/browser/data-browser/src/routes/NewResource/ButtonSection.tsx @@ -1,6 +1,6 @@ import { PropsWithChildren } from 'react'; import { Row } from '../../components/Row'; -import styled from 'styled-components'; +import { styled } from 'styled-components'; interface ButtonSectionProps { title: string;