Skip to content

Commit adbdc44

Browse files
yuanjackie1MarkTeetsjasnoominzo-kim
committed
full TS implementation on createTree.tsx
Co-authored-by: Mark Teets <[email protected]> Co-authored-by: Jasmine <[email protected]> Co-authored-by: Minzo Kim <[email protected]>
1 parent 2cdf439 commit adbdc44

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backend/controllers/createTree.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ import {
3434
*/
3535
// TODO: Not sure why the ritd need to be outside of the _createTree function. Want to put inside, but in case this need to be keep track for front end.
3636
export default function createTree(currentFiberNode: Fiber): Tree {
37-
let rtidCounter = 0;
37+
let rtidCounter: number = 0;
3838
return _createTree(currentFiberNode, new Tree('root', 'root'));
3939

4040
/**

0 commit comments

Comments
 (0)