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

code is not working date ,title,amount is not defined error is showing but it is already defined #1339

Open
Divyanshua1 opened this issue Jul 9, 2023 · 0 comments

Comments

@Divyanshua1
Copy link

import React from 'react';
import Video from './components/Video';
function App() {

let subscription = [
{
id: "1",
date: new Date('2021', '03', '15'),
Title: "Monthly Subscription",
amount: "1325.60"

},
{
  id: "2",
  date: new Date('2021', '05', '15'),
  Title: "Annually Subscription",
  amount: "1215.60"

},
{
  id: "3",
  date: new Date('2021', '02', '15'),
  Title: "Quaterly Subscription",
  amount: "1250.60"

}

];
let date = new Date('2021', '08', '15');
let Title = "Monthly Subscription";
let Amount = '125.50';

return (
<>

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

No branches or pull requests

1 participant