MCPcopy
hub / github.com/LegendApp/legend-list / setDidLayout

Function setDidLayout

src/utils/setDidLayout.ts:5–11  ·  view source on GitHub ↗
(ctx: StateContext)

Source from the content-addressed store, hash-verified

3import { setInitialRenderState } from "@/utils/setInitialRenderState";
4
5export function setDidLayout(ctx: StateContext) {
6 const state = ctx.state;
7 state.queuedInitialLayout = true;
8 checkAtBottom(ctx);
9
10 setInitialRenderState(ctx, { didLayout: true });
11}

Calls 2

checkAtBottomFunction · 0.90
setInitialRenderStateFunction · 0.90

Tested by

no test coverage detected