From 6d095b416de64a52c5d77f0a6b53f62d2b7448ae Mon Sep 17 00:00:00 2001 From: Sonatai Date: Wed, 13 Dec 2023 15:53:55 +0100 Subject: [PATCH 1/3] 139 fix typo --- src/main.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.tsx b/src/main.tsx index 877d711..739216a 100644 --- a/src/main.tsx +++ b/src/main.tsx @@ -24,7 +24,7 @@ ReactDOM.createRoot(document.getElementById('root') as HTMLElement).render( level="error" > Sorry but the webpage couldn't load. Some error - happend. Try it later please. If the error occures, + happened. Try it later please. If the error occurs, open an issue } From b6777293251db858347666d6c8b5b07d337b9b3c Mon Sep 17 00:00:00 2001 From: Sonatai Date: Wed, 13 Dec 2023 15:54:53 +0100 Subject: [PATCH 2/3] #139 delete not working story --- .../shared/Tab/CustomTab.stories.tsx | 48 ------------------- 1 file changed, 48 deletions(-) delete mode 100644 src/components/shared/Tab/CustomTab.stories.tsx diff --git a/src/components/shared/Tab/CustomTab.stories.tsx b/src/components/shared/Tab/CustomTab.stories.tsx deleted file mode 100644 index afb60f1..0000000 --- a/src/components/shared/Tab/CustomTab.stories.tsx +++ /dev/null @@ -1,48 +0,0 @@ -import type { Meta, StoryObj } from '@storybook/react'; -import { SyntaxHighlighter } from '../SyntaxHighlighter'; -import { CustomTab } from './CustomTab'; - -const meta = { - title: 'shared/CustomTab', - component: CustomTab, - tags: ['autodocs'], - parameters: { - layout: 'fullscreen', - }, -} satisfies Meta; -export default meta; - -type Story = StoryObj; -export const Tab: Story = { - args: { - tabConfigs: [ - { - header: 'Groovy', - content: ( - - ), - }, - { - header: 'Java', - content: ( - - ), - }, - { - header: 'Kotlin', - content: ( - - ), - }, - ], - }, -}; From a8b0502dbb6ee5c7c8b448c0512d47ae9fe30d1c Mon Sep 17 00:00:00 2001 From: Sonatai Date: Wed, 13 Dec 2023 15:55:45 +0100 Subject: [PATCH 3/3] #139 remove example markdown --- src/App.tsx | 5 ----- src/pages/example.md | 7 ------- 2 files changed, 12 deletions(-) delete mode 100644 src/pages/example.md diff --git a/src/App.tsx b/src/App.tsx index 2aaff3b..d21eef0 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -9,7 +9,6 @@ import { MarkdownPage } from './components/shared/MarkdownPage'; import { Message } from './components/shared/Message/Message'; import { useGetSummary } from './Hooks/useGetSummary'; import { Document } from './pages/Document'; -import tableExample from './pages/example.md'; import buildingFromSource from './pages/GettingStarted/BuildingFromSource.md'; import gswApacheMavenPath from './pages/GettingStarted/GettingStartedWithApacheMaven.md'; import gswGradlePath from './pages/GettingStarted/GettingStartedWithGradle.md'; @@ -80,10 +79,6 @@ export const App = (): JSX.Element => { } /> - } - /> diff --git a/src/pages/example.md b/src/pages/example.md deleted file mode 100644 index ab49f10..0000000 --- a/src/pages/example.md +++ /dev/null @@ -1,7 +0,0 @@ -| obj | value | something | -| ---------- | ----- | ------------------------------------------------------------------- | -| foo | 200 | ahjFDHSAJKÖGLSHNBGFJKLÖHSDG KLJÖSDHNJGKLSDHGKLSJGH FNLKÖSGFHSDLÖKG | -| bar | 500 | KJKLASFDJKLASDFASDFDFJAKSLDFJSLKDGFSDJGLKSDGFSGDKLJM | -| Woap Woap | 600 | SÖL:FGKÖLAÄGJR$EQJOKIRHGBTJKMQWRMTG WER- QWKJRQEHRJIUHQWRKL;M ASVF; | -| Youp | 7000 | LTREWKOLPÄEQRG | -| Schnabelös | 30 | ÖLKLQWÖERB FSADEKJRGKLR AEEJQWHJQWTH |