Skip to content

Commit 187fbbb

Browse files
Pollepsjoepio
authored andcommitted
Fix lint errors
1 parent d5d1d64 commit 187fbbb

25 files changed

+24
-26
lines changed

browser/data-browser/src/chunks/GraphViewer/FloatingEdge.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import {
66
EdgeProps,
77
Node,
88
} from 'reactflow';
9-
import styled, { useTheme } from 'styled-components';
9+
import { styled, useTheme } from 'styled-components';
1010
import { getEdgeParams, getSelfReferencePath } from './getEdgeParams';
1111
import { EdgeData } from './buildGraph';
1212

browser/data-browser/src/components/SideBar/About.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
import { styled } from 'styled-components';
2-
import { Logo } from '../Logo';
3-
import { SideBarHeader } from './SideBarHeader';
42
import React from 'react';
53
import { FaGithub, FaDiscord, FaBook } from 'react-icons/fa';
64
import { IconButtonLink, IconButtonVariant } from '../IconButton/IconButton';

browser/data-browser/src/components/SideBar/OntologySideBar/OntologiesPanel.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import React from 'react';
2-
import styled from 'styled-components';
2+
import { styled } from 'styled-components';
33
import {
44
Collection,
55
unknownSubject,

browser/data-browser/src/components/SideBar/SideBarPanel.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import React from 'react';
2-
import styled from 'styled-components';
2+
import { styled } from 'styled-components';
33
import { Collapse } from '../Collapse';
44
import { FaCaretRight } from 'react-icons/fa';
55
import { transition } from '../../helpers/transition';

browser/data-browser/src/components/Title.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { Resource, useTitle } from '@tomic/react';
22
import React from 'react';
33
import { AtomicLink } from './AtomicLink';
4-
import styled from 'styled-components';
4+
import { styled } from 'styled-components';
55

66
interface PageTitleProps {
77
/** Put in front of the subject's name */

browser/data-browser/src/components/forms/AtomicSelectInput.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { Resource, useValue } from '@tomic/react';
22
import React from 'react';
33
import { InputWrapper } from './InputStyles';
4-
import styled, { css } from 'styled-components';
4+
import { styled, css } from 'styled-components';
55

66
interface AtomicSelectInputProps {
77
resource: Resource;

browser/data-browser/src/components/forms/InputSlug.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { InputProps } from './ResourceField';
44
import { InputStyled, InputWrapper } from './InputStyles';
55
import { stringToSlug } from '../../helpers/stringToSlug';
66
import { useValidation } from './formValidation/useValidation';
7-
import styled from 'styled-components';
7+
import { styled } from 'styled-components';
88
import { ErrorChipInput } from './ErrorChip';
99

1010
export default function InputSlug({

browser/data-browser/src/components/forms/InputString.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import React from 'react';
22
import { useString, validateDatatype } from '@tomic/react';
33
import { InputProps } from './ResourceField';
44
import { InputStyled, InputWrapper } from './InputStyles';
5-
import styled from 'styled-components';
5+
import { styled } from 'styled-components';
66
import { ErrorChipInput } from './ErrorChip';
77
import { useValidation } from './formValidation/useValidation';
88

browser/data-browser/src/components/forms/SearchBox/ResultLine.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { urls, useResource, useString } from '@tomic/react';
22
import React, { useEffect, useRef } from 'react';
3-
import styled, { css } from 'styled-components';
3+
import { styled, css } from 'styled-components';
44
import { getIconForClass } from '../../../views/FolderPage/iconMap';
55

66
interface ResultLineProps {

browser/data-browser/src/components/forms/SearchBox/SearchBox.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import React, {
55
useRef,
66
useState,
77
} from 'react';
8-
import styled from 'styled-components';
8+
import { styled } from 'styled-components';
99
import { removeCachedSearchResults, useResource, useStore } from '@tomic/react';
1010
import { DropdownPortalContext } from '../../Dropdown/dropdownContext';
1111
import * as RadixPopover from '@radix-ui/react-popover';

0 commit comments

Comments
 (0)