import { useState } from "react";
import MockInterview from "./components/MockInterview";
import InterviewRating from "./components/InterviewRating";
import "./index.css";

const InterviewSimulationPage = () => {
  const [selectedItem, setSelectedItem] = useState("求职面试初体验");

  return (
    <div className="interview-simulation-page">
      <MockInterview onItemSelect={setSelectedItem} />
      <InterviewRating selectedItem={selectedItem} />
    </div>
  );
};

export default InterviewSimulationPage;