Skip to content

Commit

Permalink
correctly import createRoot func
Browse files Browse the repository at this point in the history
  • Loading branch information
mohdashraf010897 committed Oct 5, 2023
1 parent 9c75051 commit df7f007
Show file tree
Hide file tree
Showing 18 changed files with 18 additions and 18 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { createRoot } from 'react-dom';
import { createRoot } from 'react-dom/client';
import React from 'react';
import { SearchBase } from '@appbaseio/react-searchbox';

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { createRoot } from 'react-dom';
import { createRoot } from 'react-dom/client';
import React from 'react';

import App from './App';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from 'react';
import { createRoot } from 'react-dom';
import { createRoot } from 'react-dom/client';

import App from './App';

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from 'react';
import { createRoot } from 'react-dom';
import { createRoot } from 'react-dom/client';

import App from './App';

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from 'react';
import { createRoot } from 'react-dom';
import { createRoot } from 'react-dom/client';

import App from './App';

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from 'react';
import { createRoot } from 'react-dom';
import { createRoot } from 'react-dom/client';

import App from './App';

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from 'react';
import { createRoot } from 'react-dom';
import { createRoot } from 'react-dom/client';

import App from './App';

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from 'react';
import { createRoot } from 'react-dom';
import { createRoot } from 'react-dom/client';

import App from './App';

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from 'react';
import { createRoot } from 'react-dom';
import { createRoot } from 'react-dom/client';

import App from './App';

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from 'react';
import { createRoot } from 'react-dom';
import { createRoot } from 'react-dom/client';

import App from './App';

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from 'react';
import { createRoot } from 'react-dom';
import { createRoot } from 'react-dom/client';
import { SearchBase } from '@appbaseio/react-searchbox';
import App from './App';

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from 'react';
import { createRoot } from 'react-dom';
import { createRoot } from 'react-dom/client';

import App from './App';

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from 'react';
import { createRoot } from 'react-dom';
import { createRoot } from 'react-dom/client';

import App from './App';

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from 'react';
import { createRoot } from 'react-dom';
import { createRoot } from 'react-dom/client';
import { SearchBase } from '@appbaseio/react-searchbox';
import App from './App';

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from 'react';
import { createRoot } from 'react-dom';
import { createRoot } from 'react-dom/client';
import App from './App';

const container = document.getElementById('root');
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from 'react';
import { createRoot } from 'react-dom';
import { createRoot } from 'react-dom/client';
import App from './App';

const container = document.getElementById('root');
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from 'react';
import { createRoot } from 'react-dom';
import { createRoot } from 'react-dom/client';
import { SearchBase } from '@appbaseio/react-searchbox';
import App from './App';

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from 'react';
import { createRoot } from 'react-dom';
import { createRoot } from 'react-dom/client';

import App from './App';

Expand Down

0 comments on commit df7f007

Please sign in to comment.