Skip to content

Commit 4bfd9ad

Browse files
authored
Merge branch 'main' into dev
2 parents 26e750c + b19d095 commit 4bfd9ad

8 files changed

Lines changed: 7 additions & 5 deletions

File tree

index.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
<html lang="en">
33
<head>
44
<meta charset="UTF-8" />
5-
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
65
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
76
<title>Hamiltonian Simulation</title>
87
</head>

src/App.jsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import React from 'react';
12
import Workspace from './component/workspace/Workspace';
23

34
function App() {

src/component/workspace/AnalysisView/AnalysisView.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { useMemo, useState } from 'react';
1+
import React, { useMemo, useState } from 'react';
22
import { useSimulation } from '../../../hook/useSimulation';
33
import {
44
buildMockHighPotentialRegions2D,

src/component/workspace/PhysicalParameters/PhysicalParameters.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { useEffect, useState } from 'react';
1+
import React, { useEffect, useState } from 'react';
22
import { useSimulation } from '../../../hook/useSimulation';
33
import { parsePotential1D } from '../../../utils/math-parser';
44
import './PhysicalParameters.css';

src/component/workspace/PotentialEditor/PotentialDraw1D.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1+
import React, { useState } from "react";
12
import { useSimulation } from "../../../hook/useSimulation";
2-
import { useState } from "react";
33

44
function PotentialDraw1D() {
55
const { commonState, state1D, updateState1D } = useSimulation();

src/component/workspace/PotentialEditor/PotentialEditor.jsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import React from 'react';
12
import { useSimulation } from '../../../hook/useSimulation';
23
import PotentialDraw1D from './PotentialDraw1D';
34
import './PotentialEditor.css';

src/component/workspace/Workspace.jsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import React from 'react';
12
import { useSimulation } from '../../hook/useSimulation';
23
import AnalysisControl from './AnalysisControl/AnalysisControl';
34
import AnalysisView from './AnalysisView/AnalysisView';

src/main.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { StrictMode } from 'react'
1+
import React, { StrictMode } from 'react'
22
import { createRoot } from 'react-dom/client'
33
import App from './App.jsx'
44
import { SimulationProvider } from './context/SimulationContext'

0 commit comments

Comments
 (0)