Skip to content

Commit

Permalink
refactor: remove import of react module
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonGolms committed Aug 25, 2022
1 parent fdb3ab8 commit ef2ab3c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/components/Avatar/AvatarButtonDialog.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React, { cloneElement, isValidElement, useCallback, useState } from 'react';
import { cloneElement, isValidElement, useCallback, useState } from 'react';
import { AvatarButton, AvatarButtonProps } from './AvatarButton';

export const AvatarButtonDialog: React.FC<TProps> = ({ id, expand, children }) => {
Expand Down
6 changes: 3 additions & 3 deletions src/index.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React from 'react';
import { StrictMode } from 'react';
import { createRoot } from 'react-dom/client';
import { App } from './App';
import { AppProviders } from './AppProviders';
Expand All @@ -10,11 +10,11 @@ const container = document.getElementById('root');
const root = createRoot(container!);

root.render(
<React.StrictMode>
<StrictMode>
<AppProviders>
<App />
</AppProviders>
</React.StrictMode>
</StrictMode>
);

// If you want your app to work offline and load faster, you can change
Expand Down

0 comments on commit ef2ab3c

Please sign in to comment.