Skip to content

Commit 661cb87

Browse files
author
rsi-pr-agent
committed
fixup! feat(web): the window filter scopes lists without hiding running work
Fork-Domain: workspaces Fork-Tier: core Fork-Upstreamable: no
1 parent 06f209e commit 661cb87

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎apps/web/src/components/sidebar/SidebarProjectChooser.fork.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ export function useSidebarProjectChooserFork<Group extends ProjectChooserGroup>(
5252
};
5353
const { isMobile, setOpen, setOpenMobile } = useSidebar();
5454
const openLatest = useRef(() => {});
55-
// oxlint-disable-next-line t3code/react-effect-budget -- refreshes the latest-callback ref behind the stable opener registered in the external chooser host store.
55+
// oxlint-disable-next-line t3code/no-unreasoned-state-sync -- refreshes the latest-callback ref behind the stable opener registered in the external chooser host store.
5656
useLayoutEffect(() => {
5757
openLatest.current = () => {
5858
// The chooser sits in the sidebar header, so a hidden sidebar shows first.

‎apps/web/src/projectChooser.fork.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ const subscribe = (listener: () => void) => {
192192

193193
/** Registers the sidebar's chooser while mounted, so other surfaces can open it. */
194194
export function useProjectChooserHost(registered: ProjectChooserHost, enabled: boolean): void {
195-
// oxlint-disable-next-line t3code/react-effect-budget -- registers this chooser in the module-level host store other surfaces open through.
195+
// oxlint-disable-next-line t3code/no-unreasoned-state-sync -- registers this chooser in the module-level host store other surfaces open through.
196196
useEffect(() => {
197197
if (!enabled) return;
198198
setHost(registered);

0 commit comments

Comments
 (0)