Skip to content

Commit

Permalink
remove comment
Browse files Browse the repository at this point in the history
  • Loading branch information
omochi committed Apr 24, 2024
1 parent 12b2704 commit adcaeeb
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions Sources/React/Renderer/ReactRoot.swift
Original file line number Diff line number Diff line change
Expand Up @@ -269,12 +269,6 @@ public final class ReactRoot {
} else {
for (hook, object) in zip(hooks, instance.hooks) {
hook._prepareAny(object: object)
// switch old {
// case let old as any _AnyHookWrapper:
// new._prepareAny(object: old.object)
// default:
// new._prepareAny(object: old)
// }
}
}

Expand Down

0 comments on commit adcaeeb

Please sign in to comment.