Environments in URL and better rendering

This commit is contained in:
Gregory Schier
2023-10-25 11:13:00 -07:00
parent 3b660ddbd0
commit 33c406ce49
44 changed files with 226 additions and 160 deletions

View File

@@ -1,5 +1,5 @@
import { convertFileSrc } from '@tauri-apps/api/tauri';
import classnames from 'classnames';
import classNames from 'classnames';
import type { HttpResponse } from '../../lib/models';
interface Props {
@@ -17,7 +17,7 @@ export function ImageViewer({ response, className }: Props) {
<img
src={src}
alt="Response preview"
className={classnames(className, 'max-w-full max-h-full')}
className={classNames(className, 'max-w-full max-h-full')}
/>
);
}