Blocking behaviour while typing fixed + added spinner (#6)

* Some README tweaks

* Next's staticProps blocking beheaviour while typing fixed + Added spinner

* Testing for previous fix

* Faker deprecational update
This commit is contained in:
David
2021-04-01 15:40:25 +02:00
committed by GitHub
parent e60be0663b
commit ea8c1bad57
10 changed files with 677 additions and 571 deletions

View File

@@ -21,7 +21,8 @@ it("changes all fields", () => {
target: faker.random.locale(),
query,
delayedQuery: query,
translation: faker.random.words()
translation: faker.random.words(),
isLoading: faker.datatype.boolean()
};
const res = langReducer(initialState, {
@@ -46,7 +47,8 @@ it("switches the languages & the translations", () => {
target: state.source,
query: state.translation,
delayedQuery: state.translation,
translation: ""
translation: "",
isLoading: initialState.isLoading
});
});