In order to reduce reworking of the views, I would suggest talking through the data we want to save/provide for the book. This will help us design the frontend with the data in mind.
From what I have read so far we need something similar to this:
interface Book {
title: string;
author: string | number;
status: 'available' | 'rented';
location: string;
}
Let's discuss :D