Skip to content

Commit

Permalink
Change filename of Story card
Browse files Browse the repository at this point in the history
  • Loading branch information
drewlyton committed Aug 20, 2023
1 parent 70a2f4c commit f1fab41
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/components/StoriesSection.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React, { cloneElement, PropsWithChildren, ReactElement } from "react";

Check warning on line 1 in app/components/StoriesSection.tsx

View workflow job for this annotation

GitHub Actions / ⬣ ESLint

Imports "PropsWithChildren" and "ReactElement" are only used as types
import type Story from "../data/Story";
import StoryCard from "./Story";
import StoryCard from "./StoryCard";

interface Props extends PropsWithChildren {
label: string;
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion app/routes/stories.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { json, LoaderFunction } from "@remix-run/node";
import { useLoaderData } from "@remix-run/react";
import { useState } from "react";
import StoryCard from "~/components/Story";
import StoryCard from "~/components/StoryCard";
import { client } from "~/data/client";
import GetHighlighted from "~/data/GetHighlighted";
import GetStories from "~/data/GetStories";
Expand Down

0 comments on commit f1fab41

Please sign in to comment.