feat: custom collection card template (#433)
This commit is contained in:
committed by
GitHub
parent
c6994ea45b
commit
1641630cfd
@ -1,7 +1,12 @@
|
||||
/* eslint-disable import/prefer-default-export */
|
||||
|
||||
import type { Config } from '@staticcms/core/interface';
|
||||
import type { RootState } from '@staticcms/core/store';
|
||||
|
||||
export function selectLocale(config?: Config) {
|
||||
return config?.locale || 'en';
|
||||
}
|
||||
|
||||
export function selectConfig(state: RootState) {
|
||||
return state.config.config;
|
||||
}
|
||||
|
Reference in New Issue
Block a user