Skip to content

Commit 46ba7b1

Browse files
committed
fix: react import error
Signed-off-by: Alok Dangre <alokdangre@gmail.com> Signed-off-by: Alok Dangre <148090007+alokdangre@users.noreply.github.com>
1 parent 874a943 commit 46ba7b1

13 files changed

Lines changed: 13 additions & 0 deletions

File tree

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/colors/code.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import Next from '../Next';
22
import Previous from '../Previous';
33
import Sidebar from '../Sidebar';
44
import SubContent from '../SubContent';
5+
import React from "react";
56

67
const items = [
78
{

site/src/pages/identity/colors/guidance.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import Previous from '../Previous';
33
import Sidebar from '../Sidebar';
44
import SubContent from '../SubContent';
55
import SubText from '../SubText';
6+
import React from "react";
67

78
const items = [
89
{

site/src/pages/identity/colors/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import Text from '../Text';
44
import Code from './code';
55
import Guidance from './guidance';
66
import Overview from './overview';
7+
import React from "react";
78

89
const Color = () => {
910
const { id } = useParams();

site/src/pages/identity/colors/overview.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import Previous from '../Previous';
33
import Sidebar from '../Sidebar';
44
import SubContent from '../SubContent';
55
import SubText from '../SubText';
6+
import React from "react";
67

78
const items = [
89
{

site/src/pages/identity/elevation/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 Elevation = () => {
23
return <div className="text-center text-bold">Elevation</div>;
34
};

site/src/pages/identity/page-layouts/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 PageLayout = () => {
23
return <div className="text-center text-bold">Page Layout</div>;
34
};

site/src/pages/identity/spacing/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 Spacing = () => {
23
return <div className="text-center text-bold">Spacing</div>;
34
};

site/src/pages/identity/typography/code.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 Next from '../Next';
23
import Previous from '../Previous';
34
import Sidebar from '../Sidebar';

0 commit comments

Comments
 (0)