Skip to content

Commit 8c4f0e3

Browse files
committed
restore original form of default app charm name
1 parent d746c5b commit 8c4f0e3

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

packages/patterns/default-app.tsx

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -99,10 +99,6 @@ const spawnNote = handler<void, void>((_, __) => {
9999
}));
100100
});
101101

102-
const getCharmName = lift(({ charm }: { charm: MinimalCharm }) => {
103-
return charm?.[NAME] || "Untitled Charm";
104-
});
105-
106102
export default recipe<CharmsListInput, CharmsListOutput>(
107103
"DefaultCharmList",
108104
(_) => {
@@ -176,7 +172,7 @@ export default recipe<CharmsListInput, CharmsListOutput>(
176172
<tbody>
177173
{allCharms.map((charm) => (
178174
<tr>
179-
<td>{getCharmName({ charm })}</td>
175+
<td>{charm?.[NAME] || "Untitled Charm"}</td>
180176
<td>
181177
<ct-hstack gap="2">
182178
<ct-button

0 commit comments

Comments
 (0)