feat(recipes): add CreateRecipeClient component for quick recipe import

refactor(recipes): integrate Navigation component into various recipe pages
This commit is contained in:
Nils-Johan Gynther
2026-04-17 20:37:48 +02:00
parent 28e938e66e
commit 68b29f6d8e
8 changed files with 241 additions and 230 deletions
-2
View File
@@ -3,7 +3,6 @@
import Link from 'next/link';
import { useRouter } from 'next/navigation';
import { useRef, useState, useEffect } from 'react';
import Navigation from '../Navigation';
import ReceiptImportClient from '../kvitto/ReceiptImportClient';
import { parseErrorResponse } from '../../lib/error-handler';
@@ -14,7 +13,6 @@ type Product = { id: number; name: string; canonicalName: string | null };
export default function ImportTabsClient({ activeTab }: { activeTab: Tab }) {
return (
<main style={{ padding: '1rem', maxWidth: '900px', margin: '0 auto' }}>
<Navigation />
<h1 style={{ marginBottom: '1rem' }}>Importera</h1>
{/* Flikar */}