Skip to content

Commit

Permalink
#259 - rename variable editor
Browse files Browse the repository at this point in the history
  • Loading branch information
SoulKa committed Feb 11, 2025
1 parent 481b351 commit 1819aa8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/renderer/components/shared/settings/SettingsModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import {
DialogTrigger,
} from '@/components/ui/dialog';
import { FiSettings } from 'react-icons/fi';
import { VariableTab } from '@/components/shared/settings/VariableTab/VariableTab';
import { VariableEditor } from '@/components/shared/settings/VariableEditor/VariableEditor';
import { Tabs, TabsList, TabsTrigger, TabsContent } from '@/components/ui/tabs';
import { useVariableActions, useVariableStore } from '@/state/variableStore';
import { Button } from '@/components/ui/button';
Expand All @@ -33,7 +33,7 @@ export const SettingsModal = () => {
<TabsTrigger value="variables">Variables</TabsTrigger>
</TabsList>
<TabsContent value="variables" className="max-h-[50vh] overflow-y-auto">
<VariableTab />
<VariableEditor />
</TabsContent>
</Tabs>
<DialogFooter className={'bottom-0'}>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import {
} from '@/components/ui/table';
import { useVariableStore } from '@/state/variableStore';

export const VariableTab = () => {
export const VariableEditor = () => {
const { addNewVariable, deleteVariable, update, rename } = useVariableStore();
const variables = useVariableStore((state) => state.variables);

Expand Down

0 comments on commit 1819aa8

Please sign in to comment.