mirror of
https://github.com/Xevion/dynamic-preauth.git
synced 2025-12-05 23:14:53 -06:00
Use proper buildLog variable for download button
This commit is contained in:
@@ -12,7 +12,7 @@ type DemoProps = {
|
||||
const Demo = ({ class: className }: DemoProps) => {
|
||||
const audioRef = useRef<HTMLAudioElement | null>(null);
|
||||
|
||||
const { id, downloads, executables, deleteDownload } = useSocket({
|
||||
const { id, downloads, executables, deleteDownload, buildLog } = useSocket({
|
||||
notify: (token) => {
|
||||
audioRef.current!.play();
|
||||
highlight(token);
|
||||
@@ -66,7 +66,7 @@ const Demo = ({ class: className }: DemoProps) => {
|
||||
<DownloadButton
|
||||
key="download"
|
||||
disabled={executables == null}
|
||||
buildLog={"https://railway.com"}
|
||||
buildLog={buildLog}
|
||||
executables={executables}
|
||||
/>
|
||||
{downloads?.map((download, i) => (
|
||||
|
||||
Reference in New Issue
Block a user