Skip to content
This repository has been archived by the owner on Mar 7, 2023. It is now read-only.

Commit

Permalink
feat(s89): add localize to S89 form
Browse files Browse the repository at this point in the history
  • Loading branch information
rhahao committed Jan 15, 2022
1 parent 73c05c7 commit d5e46ea
Show file tree
Hide file tree
Showing 13 changed files with 2,181 additions and 1,146 deletions.
154 changes: 148 additions & 6 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,11 @@
"dateformat": "^4.5.1",
"dexie": "^3.0.3",
"dexie-export-import": "^1.0.3",
"docx": "^7.3.0",
"downloadjs": "^1.4.7",
"file-saver": "^2.0.5",
"file-select-dialog": "^1.5.4",
"fs": "^0.0.1-security",
"html-react-parser": "^1.2.7",
"html2pdf.js": "^0.10.1",
"i18next": "^21.6.0",
Expand Down
4 changes: 4 additions & 0 deletions src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ const Settings = lazy(() => import('./pages/Settings'));
const SourceMaterial = lazy(() => import('./pages/SourceMaterial'));
const Students = lazy(() => import('./pages/Students'));
const ScheduleTemplate = lazy(() => import('./template/ScheduleTemplate'));
const S89Template = lazy(() => import('./template/S89Template'));
const Administration = lazy(() => import('./pages/Administration'));

const theme = createTheme({
Expand Down Expand Up @@ -89,6 +90,9 @@ const App = () => {
<Route path='/ScheduleTemplate'>
<ScheduleTemplate />
</Route>
<Route path='/S89Template'>
<S89Template />
</Route>
<Route path='/SourceMaterial'>
<SourceMaterial />
</Route>
Expand Down
5 changes: 5 additions & 0 deletions src/appStates/appSchedule.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,3 +64,8 @@ export const isReloadScheduleState = atom({
key: 'isReloadSchedule',
default: false,
});

export const s89DataState = atom({
key: 's89Data',
default: [],
});
Loading

0 comments on commit d5e46ea

Please sign in to comment.