Skip to content

Commit 7ebb0b3

Browse files
Update demo/demo.tsx
1 parent d5d2e35 commit 7ebb0b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

demo/demo.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ class Demo extends React.PureComponent<Record<string, never>, { stickyTop: numbe
122122
const container = document.getElementById('react-container')
123123

124124
if (container == null) {
125-
throw new Error("Couldn't find element with id container.")
125+
throw new Error("Couldn't find element with id 'react-container'.")
126126
}
127127

128128
const root = createRoot(container)

0 commit comments

Comments
 (0)