Skip to content

Commit 41579ce

Browse files
authored
Merge pull request #105 from beNative/codex/fix-duplicate-symbol-error-in-repoformmodal
Fix duplicate logger declaration in RepoFormModal
2 parents 18cb7ec + 822e172 commit 41579ce

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

components/modals/RepoFormModal.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1872,7 +1872,6 @@ const CommitListItem: React.FC<CommitListItemProps> = ({ commit, highlight }) =>
18721872
const RepoEditView: React.FC<RepoEditViewProps> = ({ onSave, onCancel, repository, onRefreshState, setToast, confirmAction, defaultCategoryId, onOpenWeblink, detectedExecutables }) => {
18731873
const logger = useLogger();
18741874
const [formData, setFormData] = useState<Repository | Omit<Repository, 'id'>>(() => repository || NEW_REPO_TEMPLATE);
1875-
const logger = useLogger();
18761875

18771876
const repoIdForSuggestions = useMemo(() => {
18781877
if ('id' in formData) {

0 commit comments

Comments
 (0)