mirror of
https://github.com/Monadical-SAS/reflector.git
synced 2025-12-20 20:29:06 +00:00
www: fix vercel build
This commit is contained in:
@@ -21,6 +21,7 @@ export default function FinalSummary(props: FinalSummaryProps) {
|
|||||||
const api = getApi(props.protectedPath);
|
const api = getApi(props.protectedPath);
|
||||||
|
|
||||||
const updateSummary = async (newSummary: string, transcriptId: string) => {
|
const updateSummary = async (newSummary: string, transcriptId: string) => {
|
||||||
|
if (!api) return;
|
||||||
try {
|
try {
|
||||||
const updatedTranscript = await api.v1TranscriptUpdate({
|
const updatedTranscript = await api.v1TranscriptUpdate({
|
||||||
transcriptId,
|
transcriptId,
|
||||||
|
|||||||
Reference in New Issue
Block a user