Skip to content

Commit b33113a

Browse files
committed
fix(template): initialise locales in create-app templates
1 parent 76e50f5 commit b33113a

3 files changed

Lines changed: 6 additions & 0 deletions

File tree

packages/create-app/templates/template-ts-dataelements-react-router/src/App.module.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@
66
grid-template-rows: auto 1fr auto;
77
}
88

9+
:global([dir='rtl']) .appWrapper {
10+
direction: rtl;
11+
}
12+
913
.sidebar {
1014
grid-area: sidebar;
1115
}

packages/create-app/templates/template-ts-dataelements-react-router/src/AppWrapper.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import App from '@/App'
44
import classes from '@/App.module.css'
55
import AboutPage from '@/components/About'
66
import AppMenu from '@/components/AppMenu'
7+
import './locales'
78

89
const AppWrapper = () => {
910
return (

packages/create-app/templates/template-ts-dataelements/src/App.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import { NoticeBox } from '@dhis2/ui'
44
import React, { FC } from 'react'
55
import classes from '@/App.module.css'
66
import DataElementsList from '@/components/DataElementsList'
7+
import './locales'
78

89
interface QueryResults {
910
me: {

0 commit comments

Comments
 (0)