Skip to content

Commit

Permalink
Some cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
pauljonescodes committed Feb 21, 2024
1 parent c01bbd9 commit d267e54
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions src/renderer/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import GroupsPage from './pages/groups';
import ItemsPage from './pages/items';
import PlansPage from './pages/plans';
import { PathEnum } from './paths';
import { RxDBDevModePlugin } from 'rxdb/plugins/dev-mode';
// import { RxDBDevModePlugin } from 'rxdb/plugins/dev-mode';

import '../../styles/react-big-calendar.scss';
import '../../styles/react-datetime.scss';
Expand Down Expand Up @@ -73,10 +73,10 @@ export default function App() {

useEffect(() => {
if (!database) {
// addRxPlugin(RxDBDevModePlugin);
addRxPlugin(RxDBQueryBuilderPlugin);
addRxPlugin(RxDBJsonDumpPlugin);
addRxPlugin(RxDBLeaderElectionPlugin);
addRxPlugin(RxDBDevModePlugin);
initRxNPDatabase('nutrition-planner-db', getRxStorageDexie()).then(

Check failure on line 80 in src/renderer/App.tsx

View workflow job for this annotation

GitHub Actions / test (ubuntu-latest)

Expected catch() or return
setDatabase,
);
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
12 changes: 6 additions & 6 deletions src/renderer/i18n/resources.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import en from './en.json';
import fr from './fr.json';
import cmn from './cmn.json';
import es from './es.json';
import hi from './hi.json';
import ar from './ar.json';
import en from './dictionaries/en.json';
import fr from './dictionaries/fr.json';
import cmn from './dictionaries/cmn.json';
import es from './dictionaries/es.json';
import hi from './dictionaries/hi.json';
import ar from './dictionaries/ar.json';

const resources = {
en: {
Expand Down

0 comments on commit d267e54

Please sign in to comment.