mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-07-10 22:32:16 +02:00
refactor(workspace): standardize component props to use workspaceId
- Updated component props across multiple files to replace searchSpaceId with workspaceId for consistency. - Adjusted internal logic to maintain functionality while aligning with the new terminology.
This commit is contained in:
parent
ec617c1c6b
commit
3719037c16
13 changed files with 34 additions and 28 deletions
|
|
@ -60,7 +60,8 @@ function EmptyState() {
|
|||
);
|
||||
}
|
||||
|
||||
export function ArtifactsLibrary({ searchSpaceId }: { searchSpaceId: number }) {
|
||||
export function ArtifactsLibrary({ workspaceId }: { workspaceId: number }) {
|
||||
const searchSpaceId = workspaceId;
|
||||
const { artifacts, loading, error, refresh } = useLibraryArtifacts(searchSpaceId);
|
||||
const openReportPanel = useSetAtom(openReportPanelAtom);
|
||||
const [selectedMedia, setSelectedMedia] = useState<LibraryArtifact | null>(null);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue