Skip to content

Commit 2868370

Browse files
committed
fix testjs16
1 parent 7561567 commit 2868370

File tree

1 file changed

+0
-19
lines changed

1 file changed

+0
-19
lines changed

tests/testjs16.nim

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -143,19 +143,6 @@ component ShowNum:
143143
randomize()
144144

145145

146-
var someValue = remember 0
147-
148-
proc functionalComp(i: State[int], body: TagRef): TagRef =
149-
## You can pass any amount of arguments.
150-
buildHtml:
151-
tDiv:
152-
"i is "
153-
{i}
154-
@click:
155-
i += 1
156-
body
157-
158-
159146
appRoutes "app":
160147
"/":
161148
for i in 1..5:
@@ -194,9 +181,3 @@ appRoutes "app":
194181
nim:
195182
echo inCycle, ", ", inComponent
196183
echo cycleCounter, ", ", compName, ", ", compCounter
197-
198-
"/func-components":
199-
tDiv:
200-
"Here is functional components"
201-
functionalComp(someValue):
202-
"This is functional component slot"

0 commit comments

Comments
 (0)