Skip to content

Commit

Permalink
Changed order of search and text-to-speech
Browse files Browse the repository at this point in the history
  • Loading branch information
michalv8 committed Jun 20, 2020
1 parent 8cbbb8a commit a337bba
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 7 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
### Changed

- Packages update
- Changed order of search and text-to-speech

## [0.37.1] - 2020-01-07

Expand Down
2 changes: 1 addition & 1 deletion src/components/Navigation/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ export default function Navigation(): ReactElement {
<NavbarToggler type="button" onClick={toggle} />
<Collapse isOpen={toggled} navbar>
<MainMenu onLinkClick={toggleOf} />
<TextToSpeech />
<SoundSearch />
<TextToSpeech />
</Collapse>
</Navbar>
);
Expand Down
2 changes: 1 addition & 1 deletion src/components/SoundSearch/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export default function SoundSearch(): ReactElement {
);

return (
<Nav navbar>
<Nav navbar className="mr-auto">
<Form inline noValidate>
<InputGroup>
<Input
Expand Down
6 changes: 3 additions & 3 deletions src/components/TextToSpeech/index.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ describe("@components/TextToSpeech", () => {
it.each([
[
{
readText: (): void => {}
}
]
readText: (): void => {},
},
],
] as TextToSpeechProps[][])(
"renders correctly with props: %p",
(props: TextToSpeechProps) => {
Expand Down
4 changes: 2 additions & 2 deletions src/components/TextToSpeech/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import React, {
useCallback,
FormEvent,
useState,
ChangeEvent
ChangeEvent,
} from "react";
import Form from "reactstrap/lib/Form";
import Input from "reactstrap/lib/Input";
Expand Down Expand Up @@ -38,7 +38,7 @@ export default function TextToSpeech(): ReactElement {
);

return (
<Nav navbar className="mr-auto">
<Nav navbar>
<Form onSubmit={handleReadText} inline noValidate>
<InputGroup>
<Input
Expand Down

0 comments on commit a337bba

Please sign in to comment.