Skip to content

Commit 6bb75e1

Browse files
committed
fix lint & add changelog
1 parent 5298c9c commit 6bb75e1

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

.changeset/thin-dots-rest.md

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
'@srcbook/shared': minor
3+
'@srcbook/api': minor
4+
'@srcbook/web': minor
5+
---
6+
7+
Add Prettier Support to Code Notebook

packages/web/src/components/cells/code.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ export default function CodeCell(props: {
133133

134134
channel.on('cell:formatted', callback);
135135
return () => channel.off('cell:formatted', callback);
136-
}, [cell.id, channel]);
136+
}, [cell.id, channel, updateCellOnClient]);
137137

138138
function updateFilename(filename: string) {
139139
updateCellOnClient({ ...cell, filename });

0 commit comments

Comments
 (0)