mirror of
https://github.com/marcogll/TaxHacker_s23.git
synced 2026-01-13 13:25:18 +00:00
feat: update landing page with current screenshots
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
import { generateUUID } from "@/lib/utils"
|
||||
import { useEffect, useState } from "react"
|
||||
|
||||
interface Progress {
|
||||
@@ -38,7 +39,7 @@ export function useProgress(options: UseProgressOptions = {}) {
|
||||
}
|
||||
|
||||
try {
|
||||
const progressId = crypto.randomUUID()
|
||||
const progressId = generateUUID()
|
||||
const source = new EventSource(`/api/progress/${progressId}?type=${type}`)
|
||||
setEventSource(source)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user