Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Infographics #21

Merged
merged 1 commit into from
Aug 4, 2021
Merged

Infographics #21

merged 1 commit into from
Aug 4, 2021

Conversation

Bobbykumar706584
Copy link
Contributor

#10
and code refactoring with @Poojanavgurukul

@netlify
Copy link

netlify bot commented Jul 30, 2021

❌ Deploy Preview for vachan-admin failed.

🔨 Explore the source changes: 8dd457a

🔍 Inspect the deploy log: https://app.netlify.com/sites/vachan-admin/deploys/6103ca2033381d00077979d3

const temp = bibleStory;
temp[data[language]] = response.length;
console.log(response.length);
setBibleStory(temp);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

console.log can be removed

export const InfographicsContext = createContext();
function InfographicsContextProvider({ children }) {
const [count, setCount] = useState("");
const { isLoading, error, data } = useQuery("languageData", () =>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is not the url to be uesd, but will update the correct one myself, the data is showing in the 2 columns as required, will correct the rows later on.

@RevantCI RevantCI merged commit 6b66833 into Bridgeconn:dev Aug 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants