Skip to content

Commit

Permalink
refactor(templates/arc): replace remix imports
Browse files Browse the repository at this point in the history
  • Loading branch information
pcattori committed Mar 18, 2022
1 parent 0684636 commit 01756cc
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion templates/arc/app/entry.client.jsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { hydrate } from "react-dom";
import { RemixBrowser } from "remix";
import { RemixBrowser } from "@remix-run/react";

hydrate(<RemixBrowser />, document);
2 changes: 1 addition & 1 deletion templates/arc/app/entry.server.jsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { renderToString } from "react-dom/server";
import { RemixServer } from "remix";
import { RemixServer } from "@remix-run/react";

export default function handleRequest(
request,
Expand Down
2 changes: 1 addition & 1 deletion templates/arc/app/root.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import {
Outlet,
Scripts,
ScrollRestoration,
} from "remix";
} from "@remix-run/react";

export function meta() {
return {
Expand Down
3 changes: 1 addition & 2 deletions templates/arc/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@
"@remix-run/react": "*",
"cross-env": "^7.0.3",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"remix": "*"
"react-dom": "^17.0.2"
},
"devDependencies": {
"@remix-run/dev": "*",
Expand Down

0 comments on commit 01756cc

Please sign in to comment.