Skip to content

Commit

Permalink
Merge branch 'master' into toggle
Browse files Browse the repository at this point in the history
  • Loading branch information
carkom authored Jan 6, 2024
2 parents f04ddd1 + 8bf0f8e commit e266752
Show file tree
Hide file tree
Showing 9 changed files with 526 additions and 501 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { type ReactNode, useState } from 'react';
import React, { type ReactNode, useState } from 'react';

type ChildrenProps = {
refreshing: boolean;
Expand All @@ -17,5 +17,5 @@ export function SyncRefresh({ onSync, children }: SyncRefreshProps) {
setSyncing(false);
}

return children({ refreshing: syncing, onRefresh: onSync_ });
return <>{children({ refreshing: syncing, onRefresh: onSync_ })}</>;
}
Loading

0 comments on commit e266752

Please sign in to comment.