Skip to content

Commit 5bbdf50

Browse files
author
Alexis Bouhet
committed
Patched import
1 parent 0740881 commit 5bbdf50

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

frameworks/keyed/reflex-dom/src/main.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
// eslint-disable-next-line @typescript-eslint/no-unused-vars
22
import { h, render, state } from "reflex-dom"
3-
import { For } from "reflex-dom/dist/performance-helpers"
3+
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
4+
// @ts-ignore
5+
import { For } from "reflex-dom/performance-helpers"
46
// import { h, render, state } from "../node_modules/reflex-dom/dist/index.es2020.mjs"
57
// import { For } from "../node_modules/reflex-dom/dist/performance-helpers.es2020.mjs"
68

@@ -67,6 +69,7 @@ const toggleSelection = ( id:number ) => {
6769

6870
let _counter = 1;
6971
const buildData = (count:number) => {
72+
// eslint-disable-next-line unicorn/no-new-array
7073
const data = new Array(count);
7174
for ( let i = 0; i < count; ++i ) {
7275
data[i] = {
@@ -156,4 +159,5 @@ function App () {
156159
</div>
157160
}
158161

162+
// eslint-disable-next-line no-undef,unicorn/prefer-query-selector
159163
render(<App />, document.getElementById("main"))

0 commit comments

Comments
 (0)