Skip to content

Commit 727473a

Browse files
committed
fix typo
1 parent 0e0d047 commit 727473a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

redisinsight/ui/src/slices/browser/rejson.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ import { InitialStateRejson, RedisResponseBuffer } from '../interfaces'
2525
import { addErrorNotification, addMessageNotification } from '../app/notifications'
2626
import { AppDispatch, RootState } from '../store'
2727

28-
const JSON_LENGHT_TO_FORCE_RETRIEVE = 200
28+
const JSON_LENGTH_TO_FORCE_RETRIEVE = 200
2929

3030
export const initialState: InitialStateRejson = {
3131
loading: false,
@@ -151,7 +151,7 @@ export function fetchReJSON(
151151
{
152152
keyName: key,
153153
path,
154-
forceRetrieve: isNumber(length) && length > JSON_LENGHT_TO_FORCE_RETRIEVE,
154+
forceRetrieve: isNumber(length) && length > JSON_LENGTH_TO_FORCE_RETRIEVE,
155155
encoding,
156156
},
157157
{ cancelToken: sourceRejson.token }

0 commit comments

Comments
 (0)