only generate type data once
This commit is contained in:
parent
8fb1408bb4
commit
e0a2fb0256
6 changed files with 21 additions and 11 deletions
|
@ -7,11 +7,11 @@ export interface Props {
|
|||
|
||||
const { currentRoute, currentModule, currentClass } = Astro.props;
|
||||
|
||||
import { generateTypeData } from "@config/io/generateTypeData";
|
||||
import { getTypeData } from "@config/io/generateTypeData";
|
||||
import { groupRoutes } from "@config/io/helpers";
|
||||
import Tree from "./Tree.astro";
|
||||
|
||||
const routes = await generateTypeData();
|
||||
const routes = await getTypeData();
|
||||
const groupedRoutes = groupRoutes(routes);
|
||||
|
||||
const configuration = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue