Skip to content

Commit 41d8862

Browse files
authored
Merge pull request #1590 from thunderstore-io/10-21-fix_nimbus_outletcontext_not_being_updated_with_client_data
Fix Nimbus OutletContext not being updated with client data
2 parents 345e900 + ca884f5 commit 41d8862

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

apps/cyberstorm-remix/app/root.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ import {
1515
useLocation,
1616
useMatches,
1717
useRouteError,
18-
useRouteLoaderData,
1918
} from "react-router";
2019
// import { LinksFunction } from "@remix-run/react/dist/routeModules";
2120
import { Provider as RadixTooltip } from "@radix-ui/react-tooltip";
@@ -580,7 +579,7 @@ const TooltipProvider = memo(function TooltipProvider({
580579
});
581580

582581
function App() {
583-
const data = useRouteLoaderData<RootLoadersType>("root");
582+
const data = useLoaderData<RootLoadersType>();
584583
const dapper = new DapperTs(() => {
585584
return {
586585
apiHost: data?.publicEnvVariables.VITE_API_URL,

0 commit comments

Comments
 (0)