You're right. My bad, I'm the one who approved the translation. It should be fixed soon (the last line in the tests must be removed). Thanks for alerting.
your solution is not using hooks at all since you cannot use hooks inside class components. so your import of useState and useRef is pointless. there is no need to use refs anyway if you implement a function component with hooks.
They don't appear from nowhere, they're are in the input, print it: https://docs.codewars.com/training/troubleshooting#print-input
This comment is hidden because it contains spoiler information about the solution
yep, could submit now :)
This comment is hidden because it contains spoiler information about the solution
Should be fixed now.
You're right. My bad, I'm the one who approved the translation. It should be fixed soon (the last line in the tests must be removed). Thanks for alerting.
Trying to solve this Kata in Typescript (I am really new to Typescript) but keep getting
error TS1128: Declaration or statement expected.
When running "test". The function itself is fine though (returns all green when running "attempt").
oh crap, forgot to delete the row "const textTidy = ..."
too easy
your solution is not using hooks at all since you cannot use hooks inside class components. so your import of useState and useRef is pointless. there is no need to use refs anyway if you implement a function component with hooks.
as the others said, needs a better description
omg i forgot a console.log in the code :D #facepalm
+1 for the issue with the missing random tests :)
This comment is hidden because it contains spoiler information about the solution
proper tests missing...
Loading more items...