Download wp-calypso/client/state/difm/reducer.ts from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 253 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/state/difm/reducer.ts
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/wp-calypso/client/state/difm/reducer.ts
-
curl -L -o reducer.ts https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/state/difm/reducer.ts
253 Bytes
| import { withStorageKey } from '@automattic/state-utils'; | |
| import { combineReducers } from 'calypso/state/utils'; | |
| const combinedReducer = combineReducers( {} ); | |
| const difmReducer = withStorageKey( 'difm', combinedReducer ); | |
| export default difmReducer; | |