diff --git a/src/components/Dictionary.jsx b/src/components/Dictionary.jsx index afcde81..d38dfe0 100644 --- a/src/components/Dictionary.jsx +++ b/src/components/Dictionary.jsx @@ -11,14 +11,7 @@ export class Dictionary extends React.Component { name: "New", description: "A new dictionary.", createdBy: 'Someone', - words: [{ - name: 'word', - pronunciation: 'pronunciation', - partOfSpeech: 'partOfSpeech', - simpleDefinition: 'simpleDefinition', - longDefinition: 'longDefinition', - wordId: 'wordId' - }], + words: [], nextWordId: 1, externalID: 0, allowDuplicates: false, @@ -34,7 +27,7 @@ export class Dictionary extends React.Component { showWords() { let words = this.state.words.map((word, index) => { -
- {this.showWords()}