mirror of
https://github.com/leporello-js/leporello-js
synced 2026-01-13 13:04:30 -08:00
fix
This commit is contained in:
@@ -14,7 +14,7 @@ import {h, render} from 'https://unpkg.com/preact?module';
|
||||
/* external */
|
||||
import {Stateful} from './stateful.js'
|
||||
|
||||
const Counter = Stateful({
|
||||
const Fibonacci = Stateful({
|
||||
getInitialState: () => ({index: 0}),
|
||||
|
||||
handlers: {
|
||||
@@ -35,4 +35,4 @@ const Counter = Stateful({
|
||||
)
|
||||
})
|
||||
|
||||
render(h(Counter), globalThis.document.body)
|
||||
render(h(Fibonacci), globalThis.document.body)
|
||||
|
||||
Reference in New Issue
Block a user