Skip to content

Commit 2505247

Browse files
revert(.storybook): remove farsi langauge and config
1 parent 627e8bc commit 2505247

File tree

3 files changed

+0
-10
lines changed

3 files changed

+0
-10
lines changed

.storybook/i18next.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ export const baseLocales = {
66
zh: { title: "中国人", left: "Zh" },
77
ru: { title: "Русский", left: "Ru" },
88
uk: { title: "українська", left: "Uk" },
9-
fa: { title: "فارسی", left: "Fa" },
109
}
1110

1211
// Only i18n files named in this array are being exposed to Storybook. Add filenames as necessary.

.storybook/modes.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,6 @@ export const langModes = {
3232
uk: {
3333
locale: "uk",
3434
},
35-
fa: {
36-
locale: "fa",
37-
},
3835
}
3936

4037
type LangViewModeObj = {

.storybook/preview.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,6 @@ export const chakraBreakpointArray = Object.entries(
1313
extendedTheme.breakpoints
1414
) as [string, string][]
1515

16-
// Set document direction based on language selected
17-
i18n.on("languageChanged", (locale) => {
18-
const direction = i18n.dir(locale)
19-
document.dir = direction
20-
})
21-
2216
const preview: Preview = {
2317
globals: {
2418
locale: "en",

0 commit comments

Comments
 (0)