mirror of
https://github.com/chriswritescode-dev/opencode-manager.git
synced 2026-12-06 04:44:21 +01:00
fix: apply CodeRabbit auto-fixes
This commit is contained in:
1 parent
d99fcc268e
commit
df9200880e
15 files changed
+87
-89
No files matched your search
@@ -13,10 +13,6 @@ export interface SessionPickerRouteScope {
|
||||
remote: { serverId: string; serverName?: string; projectDirectory?: string } | undefined
|
||||
}
|
||||
|
||||
/**
|
||||
* Resolves what a session picker opened on the current route should list: the Manager repo of a
|
||||
* repo route, or the selected linked server and its project directory.
|
||||
*/
|
||||
export function useSessionPickerRouteScope(enabled: boolean): SessionPickerRouteScope {
|
||||
const { pathname, search } = useLocation()
|
||||
const [selectedServerId] = useSidebarServerSelection()
|
||||
|
||||
Reference in new issue
Block a user