🐛 Fix package attributes readout
This commit is contained in:
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 }));
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user