- improved grid painting and included resizing
This commit is contained in:
@@ -6,6 +6,7 @@ export const useCreateVideoSnapshot = () => {
|
||||
const { videoQuery } = useGetVideoFeed();
|
||||
|
||||
const snapShot = videoQuery?.data;
|
||||
const isloading = videoQuery.isPending;
|
||||
|
||||
useEffect(() => {
|
||||
async function createBitmap() {
|
||||
@@ -22,5 +23,5 @@ export const useCreateVideoSnapshot = () => {
|
||||
createBitmap();
|
||||
}, [snapShot]);
|
||||
|
||||
return { latestBitmapRef };
|
||||
return { latestBitmapRef, isloading };
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user