Skip to content

Commit

Permalink
Remove RefSelector since it no longer exists
Browse files Browse the repository at this point in the history
  • Loading branch information
irahopkinson committed Jul 18, 2024
1 parent 7b7f521 commit 51be2da
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions src/paratext-bible-word-list/src/word-list.web-view.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { useSetting, useData } from '@papi/frontend/react';
import { WebViewProps } from '@papi/core';
import { ChangeEvent, useEffect, useMemo, useState } from 'react';
import { ComboBox, RefSelector, ScriptureReference, Switch, TextField } from 'platform-bible-react';
import { ComboBox, ScriptureReference, Switch, TextField } from 'platform-bible-react';
import type { WordListEntry } from 'paratext-bible-word-list';
import WordContentViewer from './word-content-viewer.component';
import WordTable from './word-table.component';
Expand Down Expand Up @@ -59,7 +59,7 @@ globalThis.webViewComponent = function WordListWebView({
projectId,
useWebViewState,
}: WebViewProps) {
const [scrRef, setScrRef] = useSetting('platform.verseRef', defaultScrRef);
const [scrRef] = useSetting('platform.verseRef', defaultScrRef);
const [scope, setScope] = useWebViewState<Scope>('scope', Scope.Book);
const [wordFilter, setWordFilter] = useState<string>('');
const [selectedWord, setSelectedWord] = useState<WordListEntry>();
Expand Down Expand Up @@ -116,12 +116,6 @@ globalThis.webViewComponent = function WordListWebView({

return (
<div className="word-list">
<RefSelector
scrRef={scrRef}
handleSubmit={(newScrRef) => {
setScrRef(newScrRef);
}}
/>
<div className="filters">
<ComboBox
title="Scope"
Expand Down

0 comments on commit 51be2da

Please sign in to comment.