From 50d5b8283fe0c45aa792e9aeab21ee8af2870048 Mon Sep 17 00:00:00 2001 From: Sunil Srivatsa Date: Tue, 15 Aug 2023 13:39:55 -0400 Subject: [PATCH] add banner for the protocol winddown --- .husky/_/husky.sh | 13 +++++++++---- src/pages/AppContainer.tsx | 11 ++++++++++- 2 files changed, 19 insertions(+), 5 deletions(-) diff --git a/.husky/_/husky.sh b/.husky/_/husky.sh index 6f8339d19..cec959a6b 100644 --- a/.husky/_/husky.sh +++ b/.husky/_/husky.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env sh if [ -z "$husky_skip_init" ]; then debug () { if [ "$HUSKY_DEBUG" = "1" ]; then @@ -6,7 +6,7 @@ if [ -z "$husky_skip_init" ]; then fi } - readonly hook_name="$(basename "$0")" + readonly hook_name="$(basename -- "$0")" debug "starting $hook_name..." if [ "$HUSKY" = "0" ]; then @@ -19,7 +19,8 @@ if [ -z "$husky_skip_init" ]; then . ~/.huskyrc fi - export readonly husky_skip_init=1 + readonly husky_skip_init=1 + export husky_skip_init sh -e "$0" "$@" exitCode="$?" @@ -27,5 +28,9 @@ if [ -z "$husky_skip_init" ]; then echo "husky - $hook_name hook exited with code $exitCode (error)" fi + if [ $exitCode = 127 ]; then + echo "husky - command not found in PATH=$PATH" + fi + exit $exitCode -fi \ No newline at end of file +fi diff --git a/src/pages/AppContainer.tsx b/src/pages/AppContainer.tsx index 83996bc7a..60a8fa613 100644 --- a/src/pages/AppContainer.tsx +++ b/src/pages/AppContainer.tsx @@ -1,5 +1,5 @@ +import { Alert, Link, styled, useTheme } from "@mui/material" import React, { Suspense } from "react" -import { styled, useTheme } from "@mui/material" import { AdapterDateFns } from "@mui/x-date-pickers/AdapterDateFns" import DevTool from "../components/DevTool/DevTool" @@ -37,6 +37,15 @@ export default function AppContainer() { + + The Saddle DAO voted to wind down the protocol by pausing all + pools and dissolving the community multisig in{" "} + + SIP-54 + + . Users are advised to withdraw their funds{" "} + here. +