Skip to content

Commit

Permalink
Merge pull request #40 from bookracy/bugfix/build
Browse files Browse the repository at this point in the history
fix build issues
  • Loading branch information
JorrinKievit authored Nov 9, 2024
2 parents bc77f30 + 0c6c885 commit 1a5d721
Show file tree
Hide file tree
Showing 10 changed files with 4 additions and 10 deletions.
2 changes: 1 addition & 1 deletion src/components/books/book-item.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React, { useState } from "react";
import { useState } from "react";
import { BookItem, BookItemWithExternalDownloads } from "@/api/backend/types";
import { Card, CardContent } from "../ui/card";
import PlaceholderImage from "@/assets/placeholder.png";
Expand Down
2 changes: 1 addition & 1 deletion src/components/layout/collapse-menu-button.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React, { useState } from "react";
import { useState } from "react";
import { ChevronDown, Dot, LucideIcon } from "lucide-react";

import { cn } from "@/lib/utils";
Expand Down
1 change: 0 additions & 1 deletion src/components/layout/menu.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import React from "react";
import { Ellipsis } from "lucide-react";

import { cn } from "@/lib/utils";
Expand Down
2 changes: 1 addition & 1 deletion src/components/layout/navbar.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React, { useEffect } from "react";
import { useEffect } from "react";
import { SheetMenu } from "./sheet-menu";
import { useLayout } from "@/hooks/use-layout";
import { useLayoutStore } from "@/stores/layout";
Expand Down
1 change: 0 additions & 1 deletion src/components/layout/theme-toggle.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { Moon, Sun } from "lucide-react";
import React from "react";
import { Button } from "@/components/ui/button";
import { Tooltip, TooltipContent, TooltipTrigger, TooltipProvider } from "@/components/ui/tooltip";
import { useSettingsStore } from "@/stores/settings";
Expand Down
1 change: 0 additions & 1 deletion src/main.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import * as React from "react";
import { StrictMode, useEffect, useMemo } from "react";
import ReactDOM from "react-dom/client";
import { RouterProvider, createRouter } from "@tanstack/react-router";
Expand Down
1 change: 0 additions & 1 deletion src/routes/about.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import * as React from "react";
import { Card, CardDescription, CardHeader, CardTitle } from "@/components/ui/card";
import { NavLink } from "@/components/ui/nav-link";
import { createFileRoute } from "@tanstack/react-router";
Expand Down
1 change: 0 additions & 1 deletion src/routes/contact.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import * as React from "react";
import { Card, CardDescription, CardHeader, CardTitle } from "@/components/ui/card";
import { Button } from "@/components/ui/button";
import { createFileRoute } from "@tanstack/react-router";
Expand Down
2 changes: 1 addition & 1 deletion src/routes/featured.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { createFileRoute } from "@tanstack/react-router";
import React, { useMemo } from "react";
import { useMemo } from "react";
import { getTrendingQueryOptions } from "@/api/backend/trending/trending";
import { useSuspenseQuery } from "@tanstack/react-query";
import { BookList } from "@/components/books/book-list";
Expand Down
1 change: 0 additions & 1 deletion src/routes/upload.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import * as React from "react";
import { Card, CardDescription, CardHeader, CardTitle } from "@/components/ui/card";
import { Button } from "@/components/ui/button";
import { createFileRoute, Link, redirect } from "@tanstack/react-router";
Expand Down

0 comments on commit 1a5d721

Please sign in to comment.