feat(recipes): add CreateRecipeClient component for quick recipe import
refactor(recipes): integrate Navigation component into various recipe pages
This commit is contained in:
@@ -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 */}
|
||||
|
||||
Reference in New Issue
Block a user