From 3484e74559963eec0ac1706aa02bc725d988bc7c Mon Sep 17 00:00:00 2001 From: Alejandro Celaya Date: Sun, 15 Aug 2021 18:21:36 +0200 Subject: [PATCH] Fixed coding styles --- src/settings/ShortUrlCreation.tsx | 2 +- src/settings/reducers/settings.ts | 2 +- test/settings/ShortUrlCreation.test.tsx | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/settings/ShortUrlCreation.tsx b/src/settings/ShortUrlCreation.tsx index f180a3ed..2caaa329 100644 --- a/src/settings/ShortUrlCreation.tsx +++ b/src/settings/ShortUrlCreation.tsx @@ -59,4 +59,4 @@ export const ShortUrlCreation: FC = ({ settings, setShort ); -} +}; diff --git a/src/settings/reducers/settings.ts b/src/settings/reducers/settings.ts index f052893c..a798697b 100644 --- a/src/settings/reducers/settings.ts +++ b/src/settings/reducers/settings.ts @@ -21,7 +21,7 @@ export type TagFilteringMode = 'startsWith' | 'includes'; export interface ShortUrlCreationSettings { validateUrls: boolean; - tagFilteringMode?: TagFilteringMode + tagFilteringMode?: TagFilteringMode; } export interface UiSettings { diff --git a/test/settings/ShortUrlCreation.test.tsx b/test/settings/ShortUrlCreation.test.tsx index aee7df18..3a61f5dd 100644 --- a/test/settings/ShortUrlCreation.test.tsx +++ b/test/settings/ShortUrlCreation.test.tsx @@ -1,10 +1,10 @@ import { shallow, ShallowWrapper } from 'enzyme'; import { Mock } from 'ts-mockery'; +import { DropdownItem } from 'reactstrap'; import { ShortUrlCreationSettings, Settings } from '../../src/settings/reducers/settings'; import { ShortUrlCreation } from '../../src/settings/ShortUrlCreation'; import ToggleSwitch from '../../src/utils/ToggleSwitch'; import { DropdownBtn } from '../../src/utils/DropdownBtn'; -import { DropdownItem } from 'reactstrap'; describe('', () => { let wrapper: ShallowWrapper;