atmosphere explorer
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

silence missing attribute name warnings

Juliet 5dbf570e bf079a55

+7 -1
+7 -1
src/views/pds.tsx
··· 154 154 }, 155 155 }); 156 156 157 + virtualizer.indexFromElement = (node: Element) => { 158 + const indexStr = node.getAttribute("data-index"); 159 + if (!indexStr) return -1; 160 + return parseInt(indexStr, 10); 161 + }; 162 + 157 163 const Tab = (props: { tab: "repos" | "info" | "firehose"; label: string }) => ( 158 164 <A 159 165 classList={{ ··· 193 199 {(virtualItem) => ( 194 200 <div 195 201 data-index={virtualItem.index} 196 - ref={(el) => virtualizer.measureElement(el)} 202 + ref={virtualizer.measureElement} 197 203 classList={{ "z-10": expandedIndex() === virtualItem.index }} 198 204 style={{ 199 205 position: "absolute",