mirror of
https://github.com/Sonny93/my-links.git
synced 2025-12-09 07:03:25 +00:00
fix: missing nextId field for collection forms
This commit is contained in:
@@ -2,6 +2,7 @@ import { resolvePageComponent } from '@adonisjs/inertia/helpers';
|
||||
import { createInertiaApp } from '@inertiajs/react';
|
||||
import { hydrateRoot } from 'react-dom/client';
|
||||
import { primaryColor } from '~/styles/theme';
|
||||
import 'react-toggle/style.css';
|
||||
|
||||
import '../i18n/index';
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@ export type FormCollectionData = {
|
||||
name: string;
|
||||
description: string | null;
|
||||
visibility: Visibility;
|
||||
nextId: Collection['id'];
|
||||
nextId?: Collection['id'];
|
||||
};
|
||||
|
||||
interface FormCollectionProps {
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
import { Fragment } from 'react';
|
||||
import Toggle from 'react-toggle';
|
||||
import 'react-toggle/style.css';
|
||||
import useDarkTheme from '~/hooks/use_dark_theme';
|
||||
|
||||
export default function ThemeSwitcher() {
|
||||
|
||||
Reference in New Issue
Block a user