Skip to content

Commit 74f0fb6

Browse files
AlexPalazmburri
authored andcommitted
chore: zustand store adoption (italia#398)
1 parent dc2d4b2 commit 74f0fb6

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/app/lib/utils.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ export function parseYaml(yaml: string): PublicCode | null {
77
return yaml ? (YAML.parse(yaml) as PublicCode) : null;
88
}
99

10+
export function parseYaml(yaml: string): PublicCode | null {
11+
return yaml ? (YAML.parse(yaml) as PublicCode) : null;
12+
}
13+
1014
export function getYaml(data: PublicCode): string | null {
1115
console.log("getYaml", data);
1216
return data ? (YAML.stringify(linter(data)) as string) : null;

0 commit comments

Comments
 (0)