{
{ icon: Github, text: t('plugin.list.source.github'), action: 'github' },
{ icon: FileZip, text: t('plugin.list.source.local'), action: 'local' },
].map(({ icon: Icon, text, action }) => (
-
{
if (action === 'local')
fileInputRef.current?.click()
@@ -92,9 +92,9 @@ const Empty = () => {
setSelectedAction(action)
}}
>
-
- {text}
-
+
+
{text}
+
))}