mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-13 12:55:00 +00:00
chore: Lock file maintenance (#9654)
This PR contains the following updates: | Update | Change | |---|---| | lockFileMaintenance | All locks refreshed | 🔧 This Pull Request updates lock files to use the latest dependency versions. --- ### Configuration 📅 **Schedule**: Branch creation - "* 0-3 * * 1" (UTC), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://redirect.github.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/toeverything/AFFiNE). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS45Mi4wIiwidXBkYXRlZEluVmVyIjoiMzkuOTIuMCIsInRhcmdldEJyYW5jaCI6ImNhbmFyeSIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=-->
This commit is contained in:
@@ -32,6 +32,7 @@ export const List = forwardRef<ItemListHandle, ListProps<ListItem>>(
|
||||
return (
|
||||
// push pageListProps to the atom so that downstream components can consume it
|
||||
// this makes sure pageListPropsAtom is always populated
|
||||
// @ts-expect-error jotai-scope is not well typed, AnyWritableAtom is should be any rather than unknown
|
||||
<ListProvider initialValues={[[listPropsAtom, props]]}>
|
||||
<ListInnerWrapper {...props} handleRef={ref}>
|
||||
<ListInner {...props} />
|
||||
|
||||
@@ -72,6 +72,7 @@ export const VirtualizedList = forwardRef<
|
||||
return (
|
||||
// push pageListProps to the atom so that downstream components can consume it
|
||||
// this makes sure pageListPropsAtom is always populated
|
||||
// @ts-expect-error jotai-scope is not well typed, AnyWritableAtom is should be any rather than unknown
|
||||
<ListProvider initialValues={[[listPropsAtom, props]]}>
|
||||
<ListInnerWrapper {...props} handleRef={ref}>
|
||||
<ListInner {...props} />
|
||||
|
||||
Reference in New Issue
Block a user