🐛 Fix package attributes readout

This commit is contained in:
Manuel committed 2023-02-04 21:03:30 +01:00
1 parent 1569a01b27
commit e27aa51b4d
5 files changed
+73 -12

No files matched your search

@@ -8,7 +8,7 @@ interface PackageAttributesState {
}
export const usePackageAttributesStore = create<PackageAttributesState>((set) => ({
attributes: { packageVersion: undefined, environment: 'test' },
attributes: { packageVersion: undefined, environment: 'test', dependencies: {} },
setInitialPackageAttributes(attributes) {
set((state) => ({ ...state, attributes }));
},