Refactor LayerTree
to a function component
#3772
Merged
LayerTree
to a function component
#3772