File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
core/modules/catalog-next Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -54,6 +54,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
54
54
- Awaiting addItem action call inside mergeServerItem action (#5165 )
55
55
- Moved ` phoneNum ` to proper branch - @lukaszjedrasik ([ #5730 ] ( https://github.com/vuestorefront/vue-storefront/issues/5730 ) )
56
56
- Development hot-reload speed webpack config - ([ #5559 ] ( https://github.com/vuestorefront/vue-storefront/issues/5559 ) )
57
+ - Set correct type for ` productPageVisited ` hook - ([ #5997 ] ( https://github.com/vuestorefront/vue-storefront/issues/5997 ) )
58
+
57
59
## [ 1.12.2] - 2020.07.28
58
60
59
61
### Added
Original file line number Diff line number Diff line change 1
- import { createListenerHook , createMutatorHook } from '@vue-storefront/core/lib/hooks'
1
+ import { createListenerHook } from '@vue-storefront/core/lib/hooks'
2
2
import { Category } from './types/Category' ;
3
+ import Product from 'core/modules/catalog/types/Product' ;
3
4
4
5
const {
5
6
hook : categoryPageVisitedHook ,
9
10
const {
10
11
hook : productPageVisitedHook ,
11
12
executor : productPageVisitedExecutor
12
- } = createListenerHook < Category > ( )
13
+ } = createListenerHook < Product > ( )
13
14
14
15
/** Only for internal usage */
15
16
const catalogHooksExecutors = {
You can’t perform that action at this time.
0 commit comments