Update watcher and component gen functions

This commit is contained in:
2026-04-04 20:02:36 +01:00
parent 48c25d2fb4
commit f34f8baa99
11 changed files with 15 additions and 20 deletions
@@ -1,4 +1,5 @@
import EJSON from "../../../utils/ejson";
import { log } from "../../../utils/log";
import pagePathTransform from "../../../utils/page-path-transform";
type Params = {
@@ -47,6 +48,7 @@ export default function grabPageReactComponentString({
return tsx;
} catch (error: any) {
log.error(`grabPageReactComponentString Error: ${error.message}`);
return undefined;
}
}