ISSUE-032 - Adjusted my ReactRouter solution to drop the need for an interim path element. I am also now using WorkspacesRoute for more things, which I think is appropriate.

This commit is contained in:
Kyle Geib committed 2022-01-28 10:12:12 -05:00
1 parent f9f7b739ee
commit ae4a7e7818
5 files changed
+44 -42

No files matched your search

@@ -46,9 +46,9 @@ export function SlotSelector({
const transitions = useTransition(index, {
ref: transRef,
keys: null,
from: { opacity: 0, transform: "translate3d(0, 100%, 0" },
enter: { opacity: 1, transform: "translate3d(0, 0%, 0" },
leave: { opacity: 0, transform: "translate3d(0, -100%, 0" },
from: { opacity: 0, transform: "translate3d(0, 100%, 0)" },
enter: { opacity: 1, transform: "translate3d(0, 0%, 0)" },
leave: { opacity: 0, transform: "translate3d(0, -100%, 0)" },
});
useEffect(() => {