Commit dfc19acb authored by Robert Knight's avatar Robert Knight

Fix ref typecheck error

In `Ref<T>` the `current` property is now a readonly field. The correct
type (`MutableRef<T>`) is inferred automatically, so we don't need to
specify it.
parent 89e19d85
......@@ -83,7 +83,6 @@ function SidebarView({
!hasDirectLinkedAnnotationError &&
!isLoading;
/** @type {import("preact/hooks").Ref<string|null>} */
const prevGroupId = useRef(focusedGroupId);
// Reload annotations when group, user or document search URIs change
......
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