Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

200
Views
React blank page when I try to import from another component

The react app was working perfectly until I tried to import AlertDialogSlide from confirmation.js component. There are no errors while compiling but I have a blank page.

import './App.css';
import StarRating from './StarRating';
import StarRating2 from './StarRating2';
import StarRating3 from './StarRating3';
import { TextArea } from 'semantic-ui-react';
import AlertDialogSlide from './confirmation';

function App() {
  return (
    
    <form>
    
    <div className="App">
     <img src='solavievelogo.png'></img>
      <hr/>
      <h2>Leave a feedback!</h2>
     <StarRating></StarRating>
     <hr2/>
     <StarRating2></StarRating2>
     <hr2/>
     <StarRating3></StarRating3>
     <hr2/>
     <AlertDialogSlide></AlertDialogSlide>
     <p>Please leave a comment about your experience below:</p>
     <TextArea cols="40" rows="5" placeholder=' Type your comment here...' ></TextArea>
     <br/>
    <button class="Button" type="submit" ><span class="Button-inner">SEND FEEDBACK</span> </button>

    </div>

    </form>
    
  );
}

export default App;
about 4 years ago ยท Juan Pablo Isaza
1 answers
Answer question

0

check out your confirmation.js file. Maybe you make some mistake on that. I run this code after commenting confirmation.js file, it's working properly.

If you still have a problem share your confirmation.js file... we are ready to help ๐Ÿ˜Š

about 4 years ago ยท Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
ยฉ 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!