Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
devknoll committed Feb 15, 2022
1 parent 0c992a5 commit c51b271
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -4,8 +4,8 @@ export default function Custom() {
if (typeof window === 'undefined') {
// eslint-disable-next-line react-hooks/rules-of-hooks
useFlushEffects([
() => <script id="custom-flush-effect-1">foo</script>,
() => <script id="custom-flush-effect-2">bar</script>,
() => <span id="custom-flush-effect-1">foo</span>,
() => <span id="custom-flush-effect-2">bar</span>,
])
}
return null
Expand Down

0 comments on commit c51b271

Please sign in to comment.