modified th api's for bin, contract and task to have as passed in as a prop and not get it ffrom the global state directly in the api

This commit is contained in:
csawatzky 2025-04-17 13:33:27 -06:00
parent 4bcac4e346
commit e2f5eb0557
31 changed files with 155 additions and 507 deletions

View file

@ -503,7 +503,7 @@ export default function Bins(props: Props) {
}, [loadBins, props.insert, contentFilter]);
const duplicateBin = (bin: Bin) => {
binAPI.addBin(bin.settings).then(resp => {
binAPI.addBin(bin.settings, as).then(resp => {
loadBins();
});
};