react-code-dataset / wp-calypso /client /landing /stepper /hooks /use-coming-from-theme-activation.ts
react-code-dataset / wp-calypso /client /landing /stepper /hooks /use-coming-from-theme-activation.ts
Download wp-calypso/client/landing/stepper/hooks/use-coming-from-theme-activation.ts from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 172 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/landing/stepper/hooks/use-coming-from-theme-activation.ts
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/wp-calypso/client/landing/stepper/hooks/use-coming-from-theme-activation.ts
-
curl -L -o use-coming-from-theme-activation.ts https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/landing/stepper/hooks/use-coming-from-theme-activation.ts
172 Bytes
| import { useQuery } from './use-query'; | |
| export function useComingFromThemeActivationParam(): boolean { | |
| return useQuery().get( 'comingFromThemeActivation' ) === 'true'; | |
| } | |