mirror of
https://github.com/shishantbiswas/bknd.git
synced 2026-03-17 12:56:05 +00:00
13 lines
334 B
TypeScript
13 lines
334 B
TypeScript
import { Route } from "wouter";
|
|
import { FlowsEmpty, FlowsRoot } from "./_flows.root";
|
|
import { FlowEdit } from "./flow.$key";
|
|
|
|
export default function FlowRoutes() {
|
|
return (
|
|
<FlowsRoot>
|
|
<Route path="/" component={FlowsEmpty} />
|
|
<Route path="/flow/:flow" component={FlowEdit} />
|
|
</FlowsRoot>
|
|
);
|
|
}
|