Like useActiveToolContext, but returns null when no <ActiveToolContextProvider> is in scope instead of throwing. Used by useStandardActions to preserve its silent-no-op contract when no provider is present.
useActiveToolContext
null
<ActiveToolContextProvider>
useStandardActions
Like
useActiveToolContext, but returnsnullwhen no<ActiveToolContextProvider>is in scope instead of throwing. Used byuseStandardActionsto preserve its silent-no-op contract when no provider is present.