Skip to content

Commit

Permalink
tsc
Browse files Browse the repository at this point in the history
  • Loading branch information
RPDeshaies committed Sep 12, 2023
1 parent fed12b0 commit b85e288
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -137,9 +137,9 @@ function MyBinderManager() {
const handler: Record<IFolders, IHandlers> = {
"characters": {
async onAdd() {
const newCharacter = await charactersManager.actions.add(
DefaultTemplates.BlankTemplate,
);
const newCharacter = await charactersManager.actions.add({
json: DefaultTemplates.BlankTemplate,
});

if (myBinderManager.state.managerCallback.current) {
myBinderManager.state.managerCallback.current(newCharacter);
Expand Down

0 comments on commit b85e288

Please sign in to comment.