File tree Expand file tree Collapse file tree 1 file changed +10
-6
lines changed
Expand file tree Collapse file tree 1 file changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -292,6 +292,7 @@ export async function POST(request: NextRequest) {
292292</TabItem >
293293
294294<TabItem value = " client" label = " Client" >
295+
295296``` tsx
296297" use client" ;
297298
@@ -319,13 +320,16 @@ export default function ClientUpload() {
319320 }
320321 };
321322
322- return ( <><input type = " file" onChange = { handleFileChange } /> { url &&
323-
324- <div >Uploaded to: { url } </div >} { progress > 0 && progress < 100 &&
325- <div >{ progress } %</div >} </> ); }
326-
323+ return (
324+ <>
325+ <input type = " file" onChange = { handleFileChange } />{ " " }
326+ { url && <div >Uploaded to: { url } </div >} { " " }
327+ { progress > 0 && progress < 100 && <div >{ progress } %</div >} { " " }
328+ </>
329+ );
330+ }
327331```
328332
329333</TabItem >
334+
330335</Tabs >
331- ```
You can’t perform that action at this time.
0 commit comments