version/0.6 #4

Merged
lamacchinadesiderante merged 5 commits from version/0.5.1 into master 2023-01-16 20:19:10 +00:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit 43ffcc16b6 - Show all commits

View File

@ -94,7 +94,7 @@ const Search: React.FC<SearchProps> = ({ setBooks }) => {
}
const copyToClipboard = () => {
const searchBase = `${window.location.host}/?`;
const searchBase = `${window.location.protocol}//${window.location.host}/?`;
const searchQuery = encodeURIComponent(`title=${title}&author=${author}&language=${language}&publisher=${publisher}&isbn=${isbn}&extension=${extension}`)
navigator.clipboard.writeText(`${searchBase}${searchQuery}`).then(() => {