Commit d6b92438 authored by James Laver's avatar James Laver

[DEBUG] Replicate anoe's finding that G.C.DocsTable.pageLayout is the cause of rerendering

parent 995d409a
......@@ -308,9 +308,9 @@ pageLayout props = R.createElement pageLayoutCpt props []
pageLayoutCpt :: R.Component PageLayoutProps
pageLayoutCpt = R.hooksComponent "G.C.DocsTable.pageLayout" cpt where
cpt props@{session, nodeId, listId, corpusId, tabType, query, params} _ = do
useLoader {nodeId, listId, corpusId, tabType, query, params: fst params} (loadPage session) $
\loaded -> renderPage params props loaded
cpt props@{session, nodeId, listId, corpusId, tabType, query, params} _ = do pure $ R.fragment []
-- useLoader {nodeId, listId, corpusId, tabType, query, params: fst params} (loadPage session) $
-- \loaded -> renderPage params props loaded
---------------------------------------------------------
sampleData' :: DocumentsView
......
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