Skip to content

Commit 836f342

Browse files
committed
v.3 rewrite JS to TS
1 parent 83a3f13 commit 836f342

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

src/backend/helpers.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ export const throttle = (f : Function, t: number) : Function => {
2828
f();
2929
isOnCooldown = true;
3030
isCallQueued = false;
31-
console.log(5);
3231
const runAfterTimeout = () : any => {
3332
if (isCallQueued) {
3433
isCallQueued = false;

src/backend/linkFiber.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,6 @@ export default (snap: Snapshot, mode: Mode): (() => void) => {
196196
// We then store them along with the corresponding memoizedState.queue,
197197
// which includes the dispatch() function we use to change their state.
198198
const hooksStates = traverseRecoilHooks(memoizedState);
199-
const hooksNames = getHooksNames(elementType.toString());
200199
hooksStates.forEach((state, i) => {
201200
hooksIndex = componentActionsRecord.saveNew(
202201
state.state,

0 commit comments

Comments
 (0)