diff options
Diffstat (limited to 'apps/web/src/lib/guides/index.ts')
| -rw-r--r-- | apps/web/src/lib/guides/index.ts | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/apps/web/src/lib/guides/index.ts b/apps/web/src/lib/guides/index.ts index 007e6fda..9ea75631 100644 --- a/apps/web/src/lib/guides/index.ts +++ b/apps/web/src/lib/guides/index.ts @@ -1,13 +1,13 @@ -import { GUIDE_REGISTRY } from "./registry"; -import type { GuideDefinition } from "@/lib/guides/types"; - -export { GUIDE_REGISTRY, isGuideId } from "./registry"; -export type { GuideDefinition, GuideId, GuideRenderProps } from "./registry"; - -export function getGuideById(guideId: string | null): GuideDefinition | null { - if (!guideId) { - return null; - } - - return GUIDE_REGISTRY.find((guide) => guide.id === guideId) ?? null; -} +import { GUIDE_REGISTRY } from "./registry";
+import type { GuideDefinition } from "@/lib/guides/types";
+
+export { GUIDE_REGISTRY, isGuideId } from "./registry";
+export type { GuideDefinition, GuideId, GuideRenderProps } from "./registry";
+
+export function getGuideById(guideId: string | null): GuideDefinition | null {
+ if (!guideId) {
+ return null;
+ }
+
+ return GUIDE_REGISTRY.find((guide) => guide.id === guideId) ?? null;
+}
|
