Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
linter appeasement
  • Loading branch information
mr-martian committed Jul 10, 2024
commit 33c33586b7aadd377cd6d67d6d17f86fdae8d648
5 changes: 3 additions & 2 deletions src/components/Analyzer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,9 @@ const AnalysisResult = ({
const matches = unit.match(unitRegex);

if (matches && matches.length > 2) {
matches.filter((m) => m.length > 0).forEach((match, n) => {
const width = 30 * n;
matches.filter((m) => m.length > 0).forEach((match, n) => {
const subreadingIndent = 30;
const width = subreadingIndent * n;
morphemes.push(
<div key={`joined-${i}-${n}`} style={{ marginLeft: `${width}px` }}>
{formatUnit(match)}
Expand Down