MCPcopy
hub / github.com/simstudioai/sim / useShowTrainingControls

Function useShowTrainingControls

apps/sim/hooks/queries/general-settings.ts:112–115  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

110}
111
112export function useShowTrainingControls(): boolean {
113 const { data } = useGeneralSettings()
114 return data?.showTrainingControls ?? false
115}
116
117export function useSnapToGridSize(): number {
118 const { data } = useGeneralSettings()

Callers 1

terminal.tsxFile · 0.90

Calls 1

useGeneralSettingsFunction · 0.85

Tested by

no test coverage detected