Skip to content

Commit

Permalink
authSetting autorefresh translator
Browse files Browse the repository at this point in the history
  • Loading branch information
panaC committed Dec 2, 2020
1 parent 11f6eb4 commit b9426c7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/renderer/library/components/settings/AuthSettings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,9 @@ class AuthSettings extends React.Component<IProps> {
}
}

const mapStateToProps = (_state: ILibraryRootState, _props: IBaseProps) => {
const mapStateToProps = (state: ILibraryRootState, _props: IBaseProps) => {
return {
locale: state.i18n.locale,
};
};

Expand Down
2 changes: 1 addition & 1 deletion src/renderer/library/components/settings/Settings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ import {
TranslatorProps, withTranslator,
} from "readium-desktop/renderer/common/components/hoc/translator";
import LibraryLayout from "readium-desktop/renderer/library/components/layout/LibraryLayout";
import AuthSettings from "./AuthSettings";

import AuthSettings from "./AuthSettings";
import KeyboardSettings from "./KeyboardSettings";
import LanguageSettings from "./LanguageSettings";
import SessionSettings from "./SessionSettings";
Expand Down

0 comments on commit b9426c7

Please sign in to comment.