relative pathing for bins page

This commit is contained in:
Carter 2025-07-23 09:54:42 -06:00
parent 6996ab0e77
commit e5d4aee4a1
3 changed files with 6 additions and 4 deletions

View file

@ -49,7 +49,7 @@ export default function BinsList(props: Props) {
//const scrollRef = useRef<any>(null);
const goToBin = (i: number) => {
let path = "/bins/" + bins[i].key();
let path = bins[i].key();
navigate(path, { state: {bin: bins[i]} });
};