mirror of
https://github.com/Rain-kl/OpenFlare.git
synced 2026-10-13 18:36:37 +08:00
prettier
This commit is contained in:
@@ -1,12 +1,18 @@
|
||||
'use client';
|
||||
|
||||
import {useCallback, useState} from 'react';
|
||||
import {toast} from 'sonner';
|
||||
import { useCallback, useState } from 'react';
|
||||
import { toast } from 'sonner';
|
||||
|
||||
import type {ProxyRouteItem, ProxyRouteMutationPayload} from '@/lib/services/openflare';
|
||||
import {ProxyRouteService} from '@/lib/services/openflare';
|
||||
import type {
|
||||
ProxyRouteItem,
|
||||
ProxyRouteMutationPayload,
|
||||
} from '@/lib/services/openflare';
|
||||
import { ProxyRouteService } from '@/lib/services/openflare';
|
||||
|
||||
import {buildPayloadFromRoute, getErrorMessage} from '../../components/helpers';
|
||||
import {
|
||||
buildPayloadFromRoute,
|
||||
getErrorMessage,
|
||||
} from '../../components/helpers';
|
||||
|
||||
export function useRouteSectionSave(
|
||||
route: ProxyRouteItem,
|
||||
@@ -37,4 +43,4 @@ export function useRouteSectionSave(
|
||||
);
|
||||
|
||||
return { saving, save };
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user