Skip to content

Commit

Permalink
fix importing state in packs
Browse files Browse the repository at this point in the history
  • Loading branch information
pinocchio-life-like committed Aug 5, 2024
1 parent 4babf1a commit c8f3586
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 2 additions & 0 deletions packages/app/components/item/ImportForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,8 @@ export const ImportForm: FC<ImportFormProps> = ({
});
} else {
importPackItem({ content: fileContent, packId, ownerId });
setIsImporting(false);
closeModalHandler();
}
} else {
handleImportFromBucket(
Expand Down
1 change: 0 additions & 1 deletion server/src/routes/trpcRouter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@ import {
searchItemsByNameRoute,
getSimilarItemsRoute,
importFromBucketRoute,
importFromBucket,
} from '../controllers/item';
import { getTrailsRoute } from '../controllers/getTrail';
import { getParksRoute } from '../controllers/getParks';
Expand Down

0 comments on commit c8f3586

Please sign in to comment.