diff options
Diffstat (limited to 'viewer/src/components/index.ts')
-rw-r--r-- | viewer/src/components/index.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/viewer/src/components/index.ts b/viewer/src/components/index.ts index 1406b34..4586f62 100644 --- a/viewer/src/components/index.ts +++ b/viewer/src/components/index.ts | |||
@@ -17,6 +17,6 @@ requireComponent.keys().forEach(fileName => { | |||
17 | // Look for the component options on `.default`, which will | 17 | // Look for the component options on `.default`, which will |
18 | // exist if the component was exported with `export default`, | 18 | // exist if the component was exported with `export default`, |
19 | // otherwise fall back to module's root. | 19 | // otherwise fall back to module's root. |
20 | componentConfig.default || componentConfig | 20 | componentConfig.default ?? componentConfig |
21 | ) | 21 | ) |
22 | }) \ No newline at end of file | 22 | }) \ No newline at end of file |