Skip to content

Commit ad8bd3b

Browse files
authored
Merge pull request #991 from alokdangre/bug-repetation
fixed React import errors in /site
2 parents 76efe3d + 280feb2 commit ad8bd3b

File tree

32 files changed

+32
-2
lines changed

32 files changed

+32
-2
lines changed

site/gatsby-browser.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import { ThemeProvider } from './src/components/Theme';
22
import './src/styles/global.css';
3+
import React from "react";
34

45
export const wrapRootElement = ({ element }) => <ThemeProvider>{element}</ThemeProvider>;

site/src/components/Dropdown/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import { useState } from 'react';
22
import Sidebar from '../Sidebar';
3+
import React from "react";
34

45
const Dropdown = () => {
56
const [drop1, setDrop1] = useState(false);

site/src/components/Footer/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import React from "react";
12
const Footer = () => {
23
return (
34
<div className="ml-[17.5rem] pt-[5rem]">

site/src/components/Navigation/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import { useContext } from 'react';
2+
import React from "react";
23
import Search from '../../assets/images/Search.svg';
34
import SearchDark from '../../assets/images/SearchDark.svg';
45
import Weather from '../../assets/images/Weather.svg';

site/src/components/Sidebar/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import React from "react";
12
import { useState } from 'react';
23
import { Link } from 'react-router-dom';
34
import ChevronLightUp from '../../assets/images/Chevron-light-up.svg';

site/src/pages/404.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import React from 'react';
12
import { Link } from 'gatsby';
23

34
const pageStyles = {

site/src/pages/components/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import React from "react";
12
const Components = () => {
23
return <div className="text-center text-bold">Components</div>;
34
};

site/src/pages/home/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import React from "react";
12
const Home = () => {
23
return <div className="text-center text-bold">Home</div>;
34
};

site/src/pages/identity/Content.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import React from 'react';
12
const Content = (props) => {
23
return (
34
<div className="w-[844px] pt-8 text-gray-700 text-sm font-normal font-openSans leading-loose">

site/src/pages/identity/Heading.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import React from 'react';
12
const Heading = (props) => {
23
return (
34
<div className="self-stretch text-gray-950 text-[52px] font-bold font-qanelas leading-[64px]">

0 commit comments

Comments
 (0)