fix: use component displayName property

This commit is contained in:
Mo
2022-05-20 11:40:51 -05:00
parent 57ec49733d
commit e52e2daf39
12 changed files with 66 additions and 41 deletions

View File

@@ -1,10 +1,11 @@
import { DisplayStringForContentType, SNComponent } from '@standardnotes/snjs'
import { DisplayStringForContentType } from '@standardnotes/snjs'
import { Button } from '@/Components/Button/Button'
import { FunctionComponent } from 'preact'
import { Title, Text, Subtitle, PreferencesSegment } from '@/Components/Preferences/PreferencesComponents'
import { AnyExtension } from './AnyExtension'
export const ConfirmCustomExtension: FunctionComponent<{
component: SNComponent
component: AnyExtension
callback: (confirmed: boolean) => void
}> = ({ component, callback }) => {
const fields = [