Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
tomivirkki committed Dec 15, 2023
1 parent f926570 commit 5e5234d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/renderers/useRenderer.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { flushSync } from 'react-dom';
import {
type ComponentType,
createElement,
Expand All @@ -8,7 +7,7 @@ import {
useCallback,
useReducer,
} from 'react';
import { createPortal } from 'react-dom';
import { createPortal, flushSync } from 'react-dom';
import type { Slice, WebComponentRenderer } from './renderer.js';

export type UseRendererResult<W extends WebComponentRenderer> = readonly [
Expand Down

0 comments on commit 5e5234d

Please sign in to comment.