Skip to content

Commit

Permalink
fix(code) verious code style fixes
Browse files Browse the repository at this point in the history
Signed-off-by: David Edler <[email protected]>
  • Loading branch information
edlerd authored and mas-who committed Mar 18, 2024
1 parent a3f60d9 commit 80dbb3b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/context/instanceLoading.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,6 @@ export const InstanceLoadingProvider: FC<Props> = ({ children }) => {
);
};

export function useInstanceLoading() {
export function useInstanceLoading(): InstanceLoadingType {
return useContext(InstanceLoadingContext);
}
2 changes: 1 addition & 1 deletion src/pages/profiles/ProfileDetailPanelContent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const ProfileDetailPanelContent: FC<Props> = ({ profile, project }) => {
const usageCount = getProfileInstances(
project.name,
isDefaultProject,
profile?.used_by,
profile.used_by,
).length;

const featuresProfiles = isProjectWithProfiles(project);
Expand Down

0 comments on commit 80dbb3b

Please sign in to comment.