Skip to content

Commit

Permalink
moving our auth/unauth routes into new auth/unauth sub directories (#30)
Browse files Browse the repository at this point in the history
  • Loading branch information
bbland1 authored Sep 4, 2024
1 parent 5312138 commit 47a3e94
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions src/views/List.tsx → src/views/authenticated/List.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { useState, useMemo } from "react";
import { ListItem as ListItemComponent } from "../components/ListItem";
import { FilterListInput as FilterListComponent } from "../components/FilterListInput";
import { ListItem } from "../api";
import { ListItem as ListItemComponent } from "../../components/ListItem";
import { FilterListInput as FilterListComponent } from "../../components/FilterListInput";
import { ListItem } from "../../api";

interface Props {
data: ListItem[];
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import { ChangeEvent, FormEvent, useState } from "react";
import { addItem } from "../api/firebase";
import { validateTrimmedString } from "../utils";
import { addItem } from "../../api";
import { validateTrimmedString } from "../../utils";
import toast from "react-hot-toast";

import ShareListForm from "../components/forms/ShareListForm";
import ShareListForm from "../../components/forms/ShareListForm";

interface Props {
listPath: string | null;
Expand Down
6 changes: 3 additions & 3 deletions src/views/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export * from "./ManageList";
export * from "./authenticated/ManageList";
export * from "./Home";
export * from "./Layout";
export * from "./List";
export * from "./PageNotFound";
export * from "./authenticated/List";
export * from "./unauthenticated/PageNotFound";
File renamed without changes.

0 comments on commit 47a3e94

Please sign in to comment.