function convertTags()

in packages/app/src/ecs.ts [30:38]


function convertTags(tags: Tag[]): Tags {
	const tagsObject: Record<string, string> = {};
	tags.forEach((t) => {
		if (t.key && t.value) {
			tagsObject[t.key] = t.value;
		}
	});
	return tagsObject;
}