Skip to content

Commit

Permalink
Fix Toast. Rebase chose incorrectly.
Browse files Browse the repository at this point in the history
  • Loading branch information
cmaddox5 committed Oct 25, 2024
1 parent 4270500 commit 9185db6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions assets/js/components/Dashboard/PaMessagesPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import useSWR from "swr";
import { useRouteToRouteIDsMap } from "Hooks/useRouteToRouteIDsMap";
import ThreeDotsDropdown from "./ThreeDotsDropdown";
import { updateExistingPaMessage } from "Utils/api";
import CustomToast from "Components/CustomToast";
import Toast from "Components/Toast";
import moment from "moment";

type StateFilter = "active" | "future" | "done";
Expand Down Expand Up @@ -268,7 +268,7 @@ const PaMessageTable: ComponentType<PaMessageTableProps> = ({
</tbody>
</table>
{toastProps != null && (
<CustomToast
<Toast
{...toastProps}
onClose={() => {
setToastProps(null);
Expand Down

0 comments on commit 9185db6

Please sign in to comment.