Skip to content
This repository has been archived by the owner on Jun 19, 2023. It is now read-only.

Commit

Permalink
minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Renato Pozzi committed May 9, 2022
1 parent bb3a00b commit 7fd8cfe
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import React from "react";
import { Panel, PanelBody, PanelTitle } from "../../../components/Panel";
import { useMetadata } from "../../../lib/hooks/use-metadata";

// TODO: Fix Grid Components and any
// TODO: Fix this any
const BrowserTableContainer = ({ filters }: any) => {
const { data, isLoading, isError } = useMetadata("browser", filters);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ import React from "react";
import { Panel, PanelBody, PanelTitle } from "../../../components/Panel";
import { useMetadata } from "../../../lib/hooks/use-metadata";

// TODO: Move into a separate file
export const dropProtocol = (url) => {
return url
.replace(/(^\w+:|^)\/\//, "")
Expand Down
2 changes: 1 addition & 1 deletion packages/frontend/src/pages/NewWebsite/NewWebsite.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export function NewWebsite() {
toast({ status: "error", title: "An error has occurred.." });
};

// TODO: Fix this things.
// TODO: Fix this any.
const handleSubmit = async (data: any) => {
await client.post("/websites", data).then(onSuccess).catch(onError);
};
Expand Down

0 comments on commit 7fd8cfe

Please sign in to comment.