9 lines
181 B
TypeScript
9 lines
181 B
TypeScript
import { RouteObject } from "react-router-dom";
|
|
|
|
import ThreadView from "./views/thread";
|
|
|
|
export const threadRoute: RouteObject = {
|
|
path: "/n/:id",
|
|
element: <ThreadView />,
|
|
};
|