File tree 1 file changed +5
-19
lines changed
apps/loom-importer-extension/src/components
1 file changed +5
-19
lines changed Original file line number Diff line number Diff line change @@ -18,25 +18,11 @@ const ImportProgress: React.FC<ImportProgressProps> = ({
18
18
const isProcessingDisabled =
19
19
importState . currentStep !== ImportStep . VIDEOS_SELECTED ;
20
20
21
- if ( importState . currentStep === ImportStep . IMPORT_COMPLETE ) {
22
- if ( window . location . href . includes ( "loom.com" ) ) return null ;
23
-
24
- return (
25
- < >
26
- < p className = "text-[0.875rem] leading-[1.25rem] font-medium text-green-600 mb-1" >
27
- Success 🎉
28
- </ p >
29
- < button
30
- onClick = { async ( ) => {
31
- await chrome . storage . local . clear ( ) ;
32
- window . location . reload ( ) ;
33
- } }
34
- className = "mt-2 px-3 py-1.5 bg-blue-100 hover:bg-blue-200 rounded-md text-blue-600 text-xs font-medium transition-colors duration-200"
35
- >
36
- Reload page
37
- </ button >
38
- </ >
39
- ) ;
21
+ if (
22
+ importState . currentStep === ImportStep . IMPORT_COMPLETE &&
23
+ window . location . href . includes ( "loom.com" )
24
+ ) {
25
+ return < > </ > ;
40
26
}
41
27
42
28
return (
You can’t perform that action at this time.
0 commit comments