Skip to content

Commit 475d373

Browse files
Merge pull request #207 from arditgjeloshaj/patch-1
Added Missing Return Statement at the useQueue hook.
2 parents b23c6db + 70746e0 commit 475d373

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -967,6 +967,7 @@ export function useQueue(initialValue = []) {
967967
first: queue[0],
968968
last: queue[queue.length - 1],
969969
size: queue.length,
970+
queue
970971
};
971972
}
972973

0 commit comments

Comments
 (0)