Skip to content

Commit

Permalink
fix: Add lodash and @types/lodash dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
anpigon committed May 23, 2024
1 parent 0bcbe45 commit 4759796
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Binary file modified bun.lockb
Binary file not shown.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,13 @@
"@heroicons/react": "^2.1.3",
"@langchain/community": "^0.2.1",
"@langchain/openai": "^0.0.33",
"@types/lodash": "^4.17.4",
"@vitejs/plugin-react": "^4.3.0",
"@vitejs/plugin-react-swc": "^3.7.0",
"clsx": "^2.1.1",
"i18next": "^23.11.5",
"langchain": "^0.2.1",
"lodash": "^4.17.21",
"marked": "^4.3.0",
"monkey-around": "^2.3.0",
"nanoid": "^5.0.7",
Expand All @@ -61,7 +63,6 @@
"react-i18next": "^14.1.2",
"rollup-plugin-copy": "^3.5.0",
"tailwind-merge": "^2.3.0",
"ts-deepmerge": "^7.0.0",
"usehooks-ts": "^3.1.0"
},
"overrides": {
Expand Down
3 changes: 1 addition & 2 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import {MAXSettings} from './types';
import Logger, {LogLvl} from './utils/logging';
import {ChatbotView, VIEW_TYPE_CHATBOT} from './views/chatbot-view';
import {MAXSettingTab} from './views/setting-view';
import {merge} from 'ts-deepmerge';
import merge from 'lodash/merge'

import './styles.css';

Expand Down Expand Up @@ -226,7 +226,6 @@ export default class MAXPlugin extends Plugin {
async loadSettings() {
const loadedData = (await this.loadData()) as MAXSettings;
this.settings = merge(DEFAULT_SETTINGS, loadedData);
console.log(this.settings);
}

async saveSettings() {
Expand Down

0 comments on commit 4759796

Please sign in to comment.