Merge pull request #8838 from overleaf/jpa-fix-first-render-done-direction

[web] firstRenderDone is called by the pdf viewer, switch detach roles

GitOrigin-RevId: ec0c3e2637cdfbc512aa14313b674d635e9a1a69
This commit is contained in:
Tim Down 2022-07-13 10:06:41 +01:00 committed by Copybot
parent d501bc4820
commit 38af0054cf

View file

@ -269,8 +269,8 @@ export function DetachCompileProvider({ children }) {
const firstRenderDone = useDetachAction(
'firstRenderDone',
_firstRenderDone,
'detacher',
'detached'
'detached',
'detacher'
)
const setHasLintingError = useDetachAction(
'setHasLintingError',