You have the function twice. That's why it tells you Cannot redeclare
↧
You have the function twice. That's why it tells you Cannot redeclare