(resource: WorkspaceResource)
| 2 | import type { WorkspaceResource } from "#/api/typesGenerated"; |
| 3 | import { useSearchParamsKey } from "#/hooks/useSearchParamsKey"; |
| 4 | export const resourceOptionValue = (resource: WorkspaceResource) => { |
| 5 | return `${resource.type}_${resource.name}`; |
| 6 | }; |
| 7 | |
| 8 | // TODO: This currently serves as a temporary workaround for synchronizing the |
| 9 | // resources tab during workspace transitions. The optimal resolution involves |
no outgoing calls
no test coverage detected