Skip to content

Commit

Permalink
Fixed build issues
Browse files Browse the repository at this point in the history
  • Loading branch information
mbsantiago committed May 23, 2024
1 parent d45056b commit baffafd
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion front/src/components/datasets/DatasetList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export default function DatasetList(props: {

return (
<div className="flex flex-col p-8 space-y-2 w-full">
<div className96="flex flex-row space-x-4">
<div className="flex flex-row space-x-4">
<div className="flex-grow">
<Search
label="Search"
Expand Down
2 changes: 1 addition & 1 deletion front/src/components/search/Search.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export default function Search<T extends object>({
});

const onSelectionChange = useCallback(
(key: string | number) => {
(key: string | number | null) => {
const option = options.find((option) => getOptionKey(option) === key);
if (option) {
onSelect?.(option);
Expand Down
4 changes: 2 additions & 2 deletions front/src/hooks/spectrogram/useSpectrogram.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ export type SpectrogramState = {
export type SpectrogramControls = {
reset: () => void;
zoom: (window: SpectrogramWindow) => void;
scale: ({ time = 1, freq = 1 }: { time?: number; freq?: number }) => void;
shift({ time = 0, freq = 0 }: { time?: number; freq?: number }): void;
scale: ({ time , freq }: { time?: number; freq?: number }) => void;
shift({ time , freq }: { time?: number; freq?: number }): void;
centerOn: ({ time, freq }: { time?: number; freq?: number }) => void;
setParameters: (parameters: SpectrogramParameters) => void;
resetParameters: () => void;
Expand Down

0 comments on commit baffafd

Please sign in to comment.