Skip to content
This repository has been archived by the owner on Oct 15, 2023. It is now read-only.

Commit

Permalink
a
Browse files Browse the repository at this point in the history
  • Loading branch information
ArsenChick committed Oct 14, 2023
1 parent 2ffc088 commit 8963944
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/MASSter-frontend/src/pages/grid.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ function ModalResultWindow({item, openChange}: ModalResWindowProps) {

let elem = <IconLoader3 className="animate-spin"></IconLoader3>;
if (fileQuery.isSuccess && fileQuery.data.length != 0) {
elem = <img className="h-full w-full object-contain"
elem = <img className="h-full w-full object-contain"
src={fileQuery.data}></img>
};

Expand All @@ -134,7 +134,7 @@ function ModalResultWindow({item, openChange}: ModalResWindowProps) {
<CardHeader>Image</CardHeader>
<CardContent className="h-full">
<Button
onClick={(e) => {
onClick={(_) => {
pb.collection('text_generation_mvp')
.update(item.id, { status: "open" })
.then(_ => openChange(false));
Expand Down

0 comments on commit 8963944

Please sign in to comment.