Added pages persistance (ugly, but temporary)

This commit is contained in:
2021-07-24 20:06:40 +03:00
parent e13f37923d
commit b7f5a0eb55
8 changed files with 111 additions and 17 deletions

View File

@ -2,10 +2,10 @@ import React from "react";
import styles from "./BookItem.module.css";
import { IBook } from "~/types/book";
import { BookT } from "~/types/book";
import { Link } from "wouter";
interface IBookItemProps extends IBook {}
interface IBookItemProps extends BookT {}
export const BookItem = ({ author, title, cover, hash }: IBookItemProps) => {
return (