Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
2 changes: 1 addition & 1 deletion src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -490,7 +490,7 @@ const ElasticPlacer = () => {
{Object.keys(TIME_OPTIONS).map((time) => (
<button
key={time}
onClick={() => setCurrentElasticTime(time)}
onClick={() => setCurrentElasticTime(time as TimeType)}
className={`px-4 py-2 rounded border ${
currentElasticTime === time
? "bg-blue-500 text-white"
Expand Down
4 changes: 2 additions & 2 deletions src/components/Tooth.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ const Tooth = React.memo(({ number, row, onClick, onToggle, selected, disabled,
const rect = e.currentTarget.getBoundingClientRect();
const y = e.clientY - rect.top;
const half = rect.height / 2;
const top = y < half;
const _top = y < half;

// TODO: implement top/bottom half click handling

Expand Down Expand Up @@ -117,4 +117,4 @@ const Tooth = React.memo(({ number, row, onClick, onToggle, selected, disabled,
);
});

export default Tooth;
export default Tooth;
Loading