This commit is contained in:
caranicas 2022-09-14 16:59:14 -04:00
parent 445959abbd
commit 28a7c6d3aa
2 changed files with 13 additions and 0 deletions

View File

@ -0,0 +1,11 @@
import React from "react";
export default function AudioDing() {
return (
<audio controls>
<source src="/ding.mp3" type="audio/mp3"/>
</audio>
);
}

View File

@ -8,6 +8,7 @@ import { useQueryClient } from "@tanstack/react-query";
import { MakeImageKey } from "../../api"; import { MakeImageKey } from "../../api";
import CurrentImage from "./currentImage"; import CurrentImage from "./currentImage";
import AudioDing from "./audioDing";
import GeneratedImage from "./generatedImage"; import GeneratedImage from "./generatedImage";
@ -61,6 +62,7 @@ export default function DisplayPanel() {
<div className="display-panel"> <div className="display-panel">
<h1>Display Panel</h1> <h1>Display Panel</h1>
<div> <div>
<AudioDing></AudioDing>
<CurrentImage /> <CurrentImage />
{completedImages.map((image, index) => { {completedImages.map((image, index) => {
// if(index == 0){ // if(index == 0){