Skip to content

Commit

Permalink
feat: move label
Browse files Browse the repository at this point in the history
  • Loading branch information
Davide Carpini committed Mar 14, 2024
1 parent cfc29d3 commit cd68cd9
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions components/app/project/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -94,18 +94,8 @@ export function Editor(props: EditorProps) {
value={title}
onChange={(e) => setTitle(e.target.value)}
/>
<Table
keywords={keywords}
addKeyword={addNewKey}
deleteKey={deleteKey}
editTranslation={editTranslation}
editContext={editContext}
editKey={editKey}
checkIfKeyAlreadyExists={checkIfKeyAlreadyExists}
isSaving={isSaving}
/>
{/** icon plus label to say if the object is saved */}
<div className="flex items-center justify-center mt-10">
<div className="flex items-center justify-left my-1">
{isSaving ? (
<div className="flex items-center space-x-2">
<Icons.spinner className="animate-spin h-4 w-4" />
Expand All @@ -118,6 +108,16 @@ export function Editor(props: EditorProps) {
</div>
)}
</div>
<Table
keywords={keywords}
addKeyword={addNewKey}
deleteKey={deleteKey}
editTranslation={editTranslation}
editContext={editContext}
editKey={editKey}
checkIfKeyAlreadyExists={checkIfKeyAlreadyExists}
isSaving={isSaving}
/>
</div>
{isProjectSettingsOpened && (
<ProjectSettingsSlideOver
Expand Down

0 comments on commit cd68cd9

Please sign in to comment.