diff options
author | bobzel <zzzman@gmail.com> | 2020-08-24 11:51:41 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-24 11:51:41 -0400 |
commit | 28226924bab8a82b4d2b60d49b63296cbb25658b (patch) | |
tree | 0d2951df140115047aec79ec90285117b3a29ef0 /src/client/util/Import & Export/ImportMetadataEntry.tsx | |
parent | a9e08e0504e8002bc5d991b6a13777577ddd8f9f (diff) | |
parent | a6728f81c8192c910ed1f2b70091c39634aca05c (diff) |
Merge pull request #645 from browngraphicslab/presentation_updates
Presentation updates
Diffstat (limited to 'src/client/util/Import & Export/ImportMetadataEntry.tsx')
-rw-r--r-- | src/client/util/Import & Export/ImportMetadataEntry.tsx | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/client/util/Import & Export/ImportMetadataEntry.tsx b/src/client/util/Import & Export/ImportMetadataEntry.tsx index dcb94e2e0..1870213b9 100644 --- a/src/client/util/Import & Export/ImportMetadataEntry.tsx +++ b/src/client/util/Import & Export/ImportMetadataEntry.tsx @@ -4,7 +4,6 @@ import { EditableView } from "../../views/EditableView"; import { action, computed } from "mobx"; import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"; import { faPlus } from "@fortawesome/free-solid-svg-icons"; -import { library } from '@fortawesome/fontawesome-svg-core'; import { Doc } from "../../../fields/Doc"; import { StrCast, BoolCast } from "../../../fields/Types"; @@ -24,11 +23,6 @@ export default class ImportMetadataEntry extends React.Component<KeyValueProps> private valueRef = React.createRef<EditableView>(); private checkRef = React.createRef<HTMLInputElement>(); - constructor(props: KeyValueProps) { - super(props); - library.add(faPlus); - } - @computed public get valid() { return (this.key.length > 0 && this.key !== keyPlaceholder) && (this.value.length > 0 && this.value !== valuePlaceholder); @@ -132,7 +126,7 @@ export default class ImportMetadataEntry extends React.Component<KeyValueProps> </div> <div onClick={() => this.props.remove(this)} title={"Delete Entry"}> <FontAwesomeIcon - icon={faPlus} + icon={"plus"} color={"red"} size={"1x"} style={{ |