Skip to content

Commit

Permalink
fix: symbols
Browse files Browse the repository at this point in the history
  • Loading branch information
slikts committed Jul 15, 2020
1 parent 68f2c66 commit 760b4b3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions demo/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import { genders, countSyllables } from "latvian-grammar";
import Inflect from "./Inflect";

const App = () => {
const [word, setWord] = useState("lācis");
const [gender, setGender] = useState(genders.masculine);
const [word, setWord] = useState("Cēsis");
const [gender, setGender] = useState(genders.feminine);
const handleWordChange = useCallback(
({ target: { value } }) =>
void setWord(value.replace(/[^a-zA-Zā-žĀ-Ž]/g, ""))
Expand All @@ -26,7 +26,7 @@ const App = () => {
<code>latvian-grammar</code> demo
</h3>
<div>
<div class="input">
<div className="input">
<input value={word} type="text" onChange={handleWordChange} />
<div>
<label>
Expand Down

0 comments on commit 760b4b3

Please sign in to comment.