diff --git a/client.tsx b/client.tsx index 00e61b0..882bf38 100644 --- a/client.tsx +++ b/client.tsx @@ -1,12 +1,12 @@ -/** @jsxRuntime automatic */ -/** @jsxImportSource npm:react@18 */ -/** @jsxImportSourceTypes npm:@types/react@18 */ /** * This module is meant for internal use only. It contains functions used to render the application. * It is only expected to be imported from the `_main.tsx` file in the routes directory that is generated by the build script. * * @module */ +/** @jsxRuntime automatic */ +/** @jsxImportSource npm:react@18 */ +/** @jsxImportSourceTypes npm:@types/react@18 */ import { lazy as reactLazy, startTransition, StrictMode } from "react"; import type { ComponentType, LazyExoticComponent } from "react"; import * as reactHelmetAsync from "react-helmet-async"; diff --git a/error.tsx b/error.tsx index 1e66620..d167a86 100644 --- a/error.tsx +++ b/error.tsx @@ -1,12 +1,12 @@ -/** @jsxRuntime automatic */ -/** @jsxImportSource npm:react@18 */ -/** @jsxImportSourceTypes npm:@types/react@18 */ /** * This module provides utilities for handling errors in a React application. * It includes the http-error module for creating and handling HTTP errors. * * @module */ +/** @jsxRuntime automatic */ +/** @jsxImportSource npm:react@18 */ +/** @jsxImportSourceTypes npm:@types/react@18 */ import { ErrorResponse, HttpError, diff --git a/server.tsx b/server.tsx index d44bd8c..693a1b5 100644 --- a/server.tsx +++ b/server.tsx @@ -1,12 +1,12 @@ -/** @jsxRuntime automatic */ -/** @jsxImportSource npm:react@18 */ -/** @jsxImportSourceTypes npm:@types/react@18 */ /** * This module provides the server-side functionality for the Udibo React App framework. * It has utilities for creating the server, rendering the application, and handling errors. * * @module */ +/** @jsxRuntime automatic */ +/** @jsxImportSource npm:react@18 */ +/** @jsxImportSourceTypes npm:@types/react@18 */ import * as path from "@std/path"; import * as oak from "@oak/oak"; import { StrictMode } from "react";