Skip to content

Commit ec5f235

Browse files
committed
Fix import error
1 parent 9885ab4 commit ec5f235

File tree

7 files changed

+13
-3
lines changed

7 files changed

+13
-3
lines changed

changelog.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
Changelog
22
=========
33

4+
0.20.2 (????-??-??)
5+
-------------------
6+
7+
* Fix import errors in ESM distribution.
8+
9+
410
0.20.1 (2023-04-04)
511
-------------------
612

src/components/app.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import { State } from 'ketting';
22
import * as React from 'react';
33
import * as url from 'url';
4-
import { PageProps } from '../types.js';
54

5+
import { PageProps } from '../types.js';
66
import { Search } from './search.js';
77
import { Navigation } from './navigation.js';
88
import { Alternate } from './alternate.js';

src/components/body.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import * as React from 'react';
2+
23
import { PageProps } from '../types.js';
34
import { MarkdownBody } from './markdown-body.js';
45
import { CsvBody } from './csv-body.js';

src/components/csv-body.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import * as React from 'react';
22
import { parse } from 'csv-parse/sync';
3+
34
import { PageProps } from '../types.js';
45

56
export function CsvBody(props: PageProps) {

src/components/description.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import * as React from 'react';
2+
23
import { PageProps } from '../types.js';
34

45
export function Description(props: PageProps) {

src/components/embedded.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import * as React from 'react';
2+
23
import { PageProps } from '../types.js';
34
import { Resource } from './resource.js';
45

src/html-index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ import { Options, JsonSchema } from './types';
33
import * as ReactDOMServer from 'react-dom/server';
44
import * as React from 'react';
55

6-
import { App } from './components/app';
7-
import { contextToState } from './util';
6+
import { App } from './components/app.js';
7+
import { contextToState } from './util.js';
88

99
import '@curveball/validator';
1010

0 commit comments

Comments
 (0)