Skip to content

Commit

Permalink
Upgrade to Remix 2.13.0-pre.0
Browse files Browse the repository at this point in the history
  • Loading branch information
brookslybrand committed Oct 10, 2024
1 parent 665f69b commit 0b83a33
Show file tree
Hide file tree
Showing 14 changed files with 255 additions and 163 deletions.
2 changes: 1 addition & 1 deletion app/root.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import {
useMatches,
useRouteError,
} from "@remix-run/react";
import { unstable_data as data } from "@remix-run/node";
import { data } from "@remix-run/node";
import type { LoaderFunctionArgs } from "@remix-run/node";
import {
load as loadFathom,
Expand Down
2 changes: 1 addition & 1 deletion app/routes/$.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { handleRedirects } from "~/lib/http.server";
import type { LoaderFunctionArgs } from "@remix-run/node";
import { unstable_data as data, redirect } from "@remix-run/node";
import { data, redirect } from "@remix-run/node";
import { getRepoDoc } from "~/lib/gh-docs";

// We use the catch-all route to attempt to find a doc for the given path. If a
Expand Down
2 changes: 1 addition & 1 deletion app/routes/[_]actions.newsletter.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { unstable_data as data } from "@remix-run/node";
import { data } from "@remix-run/node";
import type { ActionFunctionArgs } from "@remix-run/node";
import { subscribeToNewsletter } from "~/lib/convertkit";
import { requirePost } from "~/lib/http.server";
Expand Down
2 changes: 1 addition & 1 deletion app/routes/_marketing._index.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { useLoaderData } from "@remix-run/react";
import type { MetaFunction } from "@remix-run/react";
import { unstable_data as data } from "@remix-run/node";
import { data } from "@remix-run/node";
import type { HeadersFunction, LoaderFunctionArgs } from "@remix-run/node";
import { OutlineButtonLink, PrimaryButtonLink } from "~/ui/buttons";
import { getMarkdownTutPage } from "~/lib/mdtut.server";
Expand Down
2 changes: 1 addition & 1 deletion app/routes/conf.2022._index.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { unstable_data as data } from "@remix-run/node";
import { data } from "@remix-run/node";
import { useLoaderData } from "@remix-run/react";
import type { LoaderFunctionArgs } from "@remix-run/node";
import type { MetaFunction } from "@remix-run/react";
Expand Down
2 changes: 1 addition & 1 deletion app/routes/conf.2022._inner.speakers.$speakerSlug.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import {
useRouteError,
} from "@remix-run/react";
import type { MetaFunction } from "@remix-run/react";
import { unstable_data as data } from "@remix-run/node";
import { data } from "@remix-run/node";
import { getSpeakers, getTalks } from "~/lib/conf2022.server";
import "~/styles/conf-speaker.css";
import { CACHE_CONTROL } from "~/lib/http.server";
Expand Down
2 changes: 1 addition & 1 deletion app/routes/conf.2023._index.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { unstable_data as data } from "@remix-run/node";
import { data } from "@remix-run/node";
import { useLoaderData } from "@remix-run/react";
import type { MetaFunction } from "@remix-run/react";
import type { LoaderFunctionArgs } from "@remix-run/node";
Expand Down
2 changes: 1 addition & 1 deletion app/routes/conf.2023._inner.schedule.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import {
import type { MetaFunction } from "@remix-run/react";
import cx from "clsx";
import type { LoaderFunctionArgs } from "@remix-run/node";
import { unstable_data as data } from "@remix-run/node";
import { data } from "@remix-run/node";
import { formatDate, getSchedules } from "~/lib/conf2023.server";
import { CACHE_CONTROL } from "~/lib/http.server";
import { slugify } from "~/ui/primitives/utils";
Expand Down
2 changes: 1 addition & 1 deletion app/routes/conf.2023._inner.speakers.$speakerSlug.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as React from "react";
import type { LoaderFunctionArgs } from "@remix-run/node";
import { unstable_data as data } from "@remix-run/node";
import { data } from "@remix-run/node";
import { useLoaderData } from "@remix-run/react";
import type { MetaFunction } from "@remix-run/react";
import "~/styles/conf-speaker.css";
Expand Down
2 changes: 1 addition & 1 deletion app/routes/conf.2023.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import {
useLoaderData,
useMatches,
} from "@remix-run/react";
import { unstable_data as data } from "@remix-run/node";
import { data } from "@remix-run/node";
import type { LoaderFunctionArgs } from "@remix-run/node";
import { Link, NavLink } from "~/ui/link";
import { Wordmark } from "~/ui/logo";
Expand Down
2 changes: 1 addition & 1 deletion app/routes/docs.$lang.$ref.$.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import {
useParams,
useRouteError,
} from "@remix-run/react";
import { unstable_data as data } from "@remix-run/node";
import { data } from "@remix-run/node";
import type { HeadersFunction, LoaderFunctionArgs } from "@remix-run/node";
import type { MetaFunction } from "@remix-run/react";
import { CACHE_CONTROL, handleRedirects } from "~/lib/http.server";
Expand Down
Loading

0 comments on commit 0b83a33

Please sign in to comment.