diff --git a/frontend/src/App.tsx b/frontend/src/App.tsx index 802e960..ff7c83c 100644 --- a/frontend/src/App.tsx +++ b/frontend/src/App.tsx @@ -155,7 +155,7 @@ function App() { } else { setAppHistory((prev) => { // Validate parent version - if (!parentVersion) { + if (parentVersion === null) { toast.error( "No parent version set. Contact support or open a Github issue." ); diff --git a/frontend/src/components/history/HistoryDisplay.tsx b/frontend/src/components/history/HistoryDisplay.tsx index f28a300..aa00920 100644 --- a/frontend/src/components/history/HistoryDisplay.tsx +++ b/frontend/src/components/history/HistoryDisplay.tsx @@ -30,7 +30,7 @@ export default function HistoryDisplay({ }: Props) { return history.length === 0 ? null : (