NODEDC_TASKMANAGER/plane-src/apps/web/app/entry.client.tsx

18 lines
432 B
TypeScript

/**
* Copyright (c) 2023-present Plane Software, Inc. and contributors
* SPDX-License-Identifier: AGPL-3.0-only
* See the LICENSE file for details.
*/
import { startTransition, StrictMode } from "react";
import { createRoot } from "react-dom/client";
import { HydratedRouter } from "react-router/dom";
startTransition(() => {
createRoot(document).render(
<StrictMode>
<HydratedRouter />
</StrictMode>
);
});