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:
@@ -5,7 +5,8 @@ export const initialState = {
|
||||
target: "en",
|
||||
query: "",
|
||||
delayedQuery: "",
|
||||
translation: ""
|
||||
translation: "",
|
||||
isLoading: true
|
||||
}
|
||||
|
||||
type State = typeof initialState;
|
||||
@@ -20,7 +21,7 @@ type Action = {
|
||||
type: Actions.SET_FIELD,
|
||||
payload: {
|
||||
key: string,
|
||||
value: string
|
||||
value: any
|
||||
}
|
||||
} | {
|
||||
type: Actions.SET_ALL,
|
||||
|
||||
Reference in New Issue
Block a user