Skip to content

Commit

Permalink
Merge pull request #167 from Zextras/2022-11-23-rc
Browse files Browse the repository at this point in the history
2022 11 23 rc
  • Loading branch information
giuliano176 authored Nov 24, 2022
2 parents 2ceae11 + eb77d4e commit 08ce5cc
Show file tree
Hide file tree
Showing 63 changed files with 1,487 additions and 439 deletions.
1 change: 1 addition & 0 deletions babel.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ module.exports = {
'i18next-extract',
{
outputPath: 'translations/{{ns}}.json',
defaultContexts: [],
defaultNS: 'en',
jsonSpace: 4,
compatibilityJSON: 'v3'
Expand Down
169 changes: 87 additions & 82 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@
"@fontsource/roboto": "^4.5.7",
"@sentry/browser": "^6.17.7",
"@tinymce/tinymce-react": "^3.13.0",
"@zextras/carbonio-design-system": "^0.5.1",
"@zextras/carbonio-design-system": "^0.5.2",
"@zextras/carbonio-ui-preview": "^0.2.4",
"darkreader": "4.9.46",
"history": "^5.2.0",
Expand Down
2 changes: 1 addition & 1 deletion src/boot/bootstrapper-router.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ const DefaultViewsRegister: FC<{ t: TFunction }> = ({ t }) => {
};

const BootstrapperRouter: FC = () => {
const { t } = useTranslation();
const [t] = useTranslation();
return (
<BrowserRouter basename={BASENAME}>
<SnackbarManager>
Expand Down
3 changes: 2 additions & 1 deletion src/boot/init.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,10 @@
import { getInfo } from '../network/get-info';
import { useAppStore } from '../store/app';
import { loadApps } from './app/load-apps';
import { loginConfig } from '../network/login-config';

export const init = (): void => {
getInfo().finally(() => {
Promise.all([loginConfig(), getInfo()]).finally(() => {
loadApps(Object.values(useAppStore.getState().apps));
});
};
Loading

0 comments on commit 08ce5cc

Please sign in to comment.