Skip to content
This repository has been archived by the owner on Oct 1, 2024. It is now read-only.

Commit

Permalink
Functional, and much better named; 'term', 'definition', etc.
Browse files Browse the repository at this point in the history
  • Loading branch information
mapachurro committed Apr 16, 2024
1 parent 2b0d101 commit a95151c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ function App() {

<Term
word={word}
definition={term.definition}
phonetic={definition.phonetic}
definition={term.definition}
phonetic={term.phonetic}
partOfSpeech={term.partOfSpeech}
/>
</>
Expand Down
2 changes: 1 addition & 1 deletion src/termStruct.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import "./Term.css";

function Term({ word, partOfSpeech, phonetic, definition }) {
return (
<div className="Definition">
<div className="Entry">
<div className="declaration">
<div className="word">{word}</div>
<div className="grammar">
Expand Down
2 changes: 1 addition & 1 deletion src/terms.jsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Link } from "./Link";
import "./Term.css";

const definitions = {
const terms = {
"permissionless distribution": {
phonetic: "pɝˈmɪʃənˈɫɛs ˌdɪstɹəbˈjuʃən",
definition: (
Expand Down

0 comments on commit a95151c

Please sign in to comment.