diff --git a/src/pages/Bin.tsx b/src/pages/Bin.tsx index 5f5dbd5..e097e10 100644 --- a/src/pages/Bin.tsx +++ b/src/pages/Bin.tsx @@ -269,7 +269,7 @@ export default function Bin(props: Props) { loadRef.current = true; //add the presets to the bin page data load binAPI - .getBinPageData(binID, user.id(), showErrors) + .getBinPageData(binKey ?? binID, user.id(), showErrors) .then(resp => { if (resp.data.grainCompositionNames) { let tempMap: Map = new Map();