Remove duplicate api/file_config.ts and consolidate raw file APIs into api/config.ts
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
* React hook for loading and saving a single raw action file.
|
||||
*/
|
||||
import { useCallback } from "react";
|
||||
import { fetchActionFile, updateActionFile } from "../api/file_config";
|
||||
import { fetchActionFile, updateActionFile } from "../api/config";
|
||||
|
||||
export interface UseActionRawFileResult {
|
||||
fetchRawContent: () => Promise<string>;
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
* React hook for loading and saving a single raw filter file.
|
||||
*/
|
||||
import { useCallback } from "react";
|
||||
import { fetchFilterFile, updateFilterFile } from "../api/file_config";
|
||||
import { fetchFilterFile, updateFilterFile } from "../api/config";
|
||||
|
||||
export interface UseFilterRawFileResult {
|
||||
fetchRawContent: () => Promise<string>;
|
||||
|
||||
Reference in New Issue
Block a user