Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

new api for kits #1976

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from
Open

new api for kits #1976

wants to merge 2 commits into from

Conversation

GunkaArtur
Copy link
Contributor

@GunkaArtur GunkaArtur self-assigned this Feb 7, 2024
@GunkaArtur GunkaArtur force-pushed the 25518-newApiKits branch 4 times, most recently from b28b963 to 3514eea Compare February 22, 2024 09:09
@GunkaArtur GunkaArtur force-pushed the 25518-newApiKits branch 4 times, most recently from f306885 to b25e25a Compare March 12, 2024 14:26
@GunkaArtur GunkaArtur force-pushed the 25518-newApiKits branch 2 times, most recently from 609b99b to 44f06b8 Compare March 26, 2024 14:25
@GunkaArtur GunkaArtur force-pushed the 25518-newApiKits branch 2 times, most recently from b58f709 to c3b1e5e Compare April 24, 2024 08:46
};
};

export const getKitData = async (url: string, kitId: string, id: string) => {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

return allElements;
};
export function convertToCategories(obj: Record<string, string>): Categories[] {
return Object.entries(obj).map(([_, title]) => ({
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

use Object.values instead of Object.entries

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants