Merged in feature/refactor-lang (pull request #387)
feat: SW-238 Avoid prop drilling of lang Approved-by: Michael Zetterberg
This commit is contained in:
@@ -6,11 +6,11 @@ import {
|
||||
|
||||
import { LangParams } from "@/types/params"
|
||||
|
||||
export type SidebarProps = LangParams & {
|
||||
export type SidebarProps = {
|
||||
blocks: Sidebar[]
|
||||
}
|
||||
|
||||
export type JoinLoyaltyContactProps = LangParams & {
|
||||
export type JoinLoyaltyContactProps = {
|
||||
block: JoinLoyaltyContact["join_loyalty_contact"]
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user