Skip to content

Commit

Permalink
Update App.js
Browse files Browse the repository at this point in the history
  • Loading branch information
shr7 authored Nov 22, 2020
1 parent e9623c2 commit 8d8ef97
Showing 1 changed file with 82 additions and 82 deletions.
164 changes: 82 additions & 82 deletions src/components/App.js
Original file line number Diff line number Diff line change
@@ -1,108 +1,108 @@
import React, {Component, useState} from "react";
import "./../styles/App.css";

// Do not alter the mentiones states variable and values inside it as test cases depend on it.
const states = [{
name : "Madhya Pradesh",
cities :[{
name : "Indore",
towns :[{
name : "Mhow"
},{
name : "Dewas"
}]
// Do not alter the states const and values inside it.
const states = [{
name : "Madhya Pradesh",
cities :[{
name : "Indore",
towns :[{
name : "Mhow"
},{
name : "Bhopal",
towns :[{
name : "Manit"
},{
name: "Berasia"
}]
name : "Dewas"
}]
},{
name : "Bhopal",
towns :[{
name : "Manit"
},{
name : "Gwalior",
towns :[{
name : "Ajaypur"
}]
name: "Berasia"
}]
},{
name : "Jharkhand",
cities :[{
name : "Dhanbad",
towns :[{
name : "IIT(ISM) Dhanbad"
},{
name : "Hirapur"
}]
name : "Gwalior",
towns :[{
name : "Ajaypur"
}]
}]
},{
name : "Jharkhand",
cities :[{
name : "Dhanbad",
towns :[{
name : "IIT(ISM) Dhanbad"
},{
name : "Wasseypur",
towns :[{
name : "Sardar khan's"
},{
name : "Faizal khan's"
}]
name : "Hirapur"
}]
},{
name : "Wasseypur",
towns :[{
name : "Sardar khan's"
},{
name : "Mirzapur",
towns :[{
name : "Kaleen bhaiya's"
},{
name : "Guddu bhaiya's"
}]
name : "Faizal khan's"
}]
},{
name : "Assam",
cities :[{
name : "Guwhati",
towns :[{
name : "Amin"
},{
name : "Jalah"
}]
name : "Mirzapur",
towns :[{
name : "Kaleen bhaiya's"
},{
name : "Jungle1",
towns :[{
name : "Tiger found at IIT Guwahati"
},{
name : "Leopard found in IIT Guwahati"
}]
name : "Guddu bhaiya's"
}]
}]
},{
name : "Assam",
cities :[{
name : "Guwhati",
towns :[{
name : "Amin"
},{
name : "Tezpur",
towns :[{
name : "Dibrugarh"
},{
name : "Silchar"
}]
name : "Jalah"
}]
},{
name : "Bihar",
cities :[{
name : "Patna",
towns :[{
name : "Sonpur"
},{
name : "Maner"
}]
name : "Jungle1",
towns :[{
name : "Tiger found at IIT Guwahati"
},{
name : "Gaya",
towns :[{
name : "Bakraur"
},{
name : "Barachatti"
}]
name : "Leopard found in IIT Guwahati"
}]
},{
name : "Tezpur",
towns :[{
name : "Dibrugarh"
},{
name : "Silchar"
}]
}]
},{
name : "Bihar",
cities :[{
name : "Patna",
towns :[{
name : "Sonpur"
},{
name : "Maner"
}]
},{
name : "Gaya",
towns :[{
name : "Bakraur"
},{
name : "Barachatti"
}]
},{
name : "Darbhanga",
towns :[{
name : "Singhwara"
},{
name : "Darbhanga",
towns :[{
name : "Singhwara"
},{
name : "Jale"
}]
name : "Jale"
}]
}];
}]
}];


function App()
{
return (
<div id="main"></div>
<div id="main"></div>
);
}

Expand Down

0 comments on commit 8d8ef97

Please sign in to comment.