Skip to content

Commit

Permalink
fix(imports): use relative imports
Browse files Browse the repository at this point in the history
  • Loading branch information
obviyus committed Jul 22, 2022
1 parent 59ca9fb commit 1e904b1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/routes/image/$name.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import type { LoaderFunction } from "@remix-run/cloudflare";
import { redirect } from "@remix-run/cloudflare";
import images from "images/index";
import images from '../../../images/index';
import { useLoaderData } from "@remix-run/react";

export const loader: LoaderFunction = async ({ params, }) => {
Expand Down
2 changes: 1 addition & 1 deletion app/routes/index.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import images from 'images/index';
import images from '../../images/index';
import Masonry from 'react-masonry-css'
import { Link } from "@remix-run/react";

Expand Down

0 comments on commit 1e904b1

Please sign in to comment.