File tree Expand file tree Collapse file tree
apps/roam/src/components/canvas Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -993,15 +993,13 @@ const ClipboardPageSection = ({
993993 </ div >
994994 ) : visibleGroupedNodes . length === 0 ? (
995995 < div className = "rounded border border-dashed border-gray-200 p-2" >
996-
997996 { searchQuery || selectedNodeType !== "All"
998997 ? showNodesOnCanvas
999998 ? "No nodes match the current filters."
1000- : " No nodes match the current filters, or matching nodes are already on canvas. Turn on \ "Show nodes on canvas\ " to view them."
999+ : ' No nodes match the current filters, or matching nodes are already on canvas. Turn on "Show nodes on canvas" to view them.'
10011000 : showNodesOnCanvas
1002- ? "All nodes from this page are already on canvas."
1003- : 'All nodes from this page are already on canvas. Turn on "Show nodes on canvas" to view them.' }
1004-
1001+ ? "All nodes from this page are already on canvas."
1002+ : 'All nodes from this page are already on canvas. Turn on "Show nodes on canvas" to view them.' }
10051003 </ div >
10061004 ) : (
10071005 < div className = "space-y-1" >
@@ -1168,7 +1166,10 @@ export const ClipboardPanel = () => {
11681166 } , [ nodeTypesByPage , pages ] ) ;
11691167
11701168 useEffect ( ( ) => {
1171- if ( selectedNodeType !== "All" && ! availableNodeTypes . includes ( selectedNodeType ) ) {
1169+ if (
1170+ selectedNodeType !== "All" &&
1171+ ! availableNodeTypes . includes ( selectedNodeType )
1172+ ) {
11721173 setSelectedNodeType ( "All" ) ;
11731174 }
11741175 } , [ availableNodeTypes , selectedNodeType ] ) ;
You can’t perform that action at this time.
0 commit comments