small changes
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
* Handles all communication with the backend API
|
||||
*/
|
||||
|
||||
const API_BASE_URL = 'http://localhost:8001'
|
||||
const API_BASE_URL = import.meta.env.VITE_API_URL || 'http://localhost:8001'
|
||||
|
||||
type ApiOptions = {
|
||||
method?: 'GET' | 'POST' | 'PUT' | 'DELETE'
|
||||
|
||||
@@ -180,12 +180,12 @@ export default function HistoryPage() {
|
||||
<h1>History</h1>
|
||||
<p className="history-subtitle">Your past reflections</p>
|
||||
</div>
|
||||
<button type="button" className="history-search-btn" title="Search entries">
|
||||
{/* <button type="button" className="history-search-btn" title="Search entries">
|
||||
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round">
|
||||
<circle cx="11" cy="11" r="8"></circle>
|
||||
<path d="m21 21-4.35-4.35"></path>
|
||||
</svg>
|
||||
</button>
|
||||
</button> */}
|
||||
</header>
|
||||
|
||||
<main className="history-container">
|
||||
|
||||
Reference in New Issue
Block a user