Commit 00edbd00 authored by Lauri Himanen's avatar Lauri Himanen
Browse files

Fixed missing hook dependency.

parent 7d776daf
Pipeline #93168 passed with stages
in 38 minutes and 39 seconds
......@@ -248,7 +248,7 @@ export const Structure = withErrorHandler(({
refViewer.current.saveReset()
refViewer.current.reset()
setLoading(false)
}, [])
}, [materialType])
// Called whenever the given system changes. If positionsOnly is true, only
// updates the positions. Otherwise reloads the entire structure.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment