Skip to content

Commit

Permalink
move hook
Browse files Browse the repository at this point in the history
  • Loading branch information
madeindjs committed Aug 26, 2024
1 parent 75a7b44 commit a4f0a6c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 12 deletions.
2 changes: 1 addition & 1 deletion src/ui/src/core_components/content/CoreDataframe.vue
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ import { ComputedRef } from "vue";
import { onUnmounted } from "vue";
import WdsTextInput from "../../wds/WdsTextInput.vue";
import WdsControl from "../../wds/WdsControl.vue";
import { useDataFrameValueBroker } from "../../renderer/useDataframeValueBroker";
import { useDataFrameValueBroker } from "./CoreDataframe/useDataframeValueBroker";
import {
ARQUERO_INTERNAL_ID,
DEFAULT_DATA_FRAME,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,12 @@ import {
ref,
ShallowRef,
} from "vue";
import { Core, InstancePath } from "../writerTypes";
import { type internal } from "arquero";
import { ARQUERO_INTERNAL_ID } from "../core_components/content/CoreDataframe/constants";
import { Core, InstancePath } from "../../../writerTypes";
import { ARQUERO_INTERNAL_ID } from "./constants";

/**
*
* Encapsulates repeatable form value logic, including binding.
*
* @param wf
* @param componentId
* Encapsulates the logic to update an Arquero table and sync it with the backend
*/
export function useDataFrameValueBroker(
wf: Core,
Expand All @@ -36,10 +32,6 @@ export function useDataFrameValueBroker(
/**
* Takes a value and emits a CustomEvent of the given type.
* Deals with debouncing.
*
* @param newValue
* @param eventType
* @returns
*/
async function handleUpdateCell(
columnName: string,
Expand Down

0 comments on commit a4f0a6c

Please sign in to comment.