Skip to content

Commit

Permalink
Fixed formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
taras committed Oct 4, 2024
1 parent 34e3574 commit b2dbb8f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion tinyexec/tinyexec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,4 @@ export function x(
yield* tinyproc.kill();
}
});
}
}
6 changes: 3 additions & 3 deletions www/hooks/use-markdown.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import { call, type Operation } from "effection";
import type { JSXElement } from "revolution/jsx-runtime";
import { useMDX } from './use-mdx.tsx';
import { useMDX } from "./use-mdx.tsx";

export function* useMarkdown(markdown: string): Operation<JSXElement> {
return yield* call(function* (): Operation<JSXElement> {
const mod = yield* useMDX(markdown);
return mod.default();
})
}
});
}

0 comments on commit b2dbb8f

Please sign in to comment.