From 2a90cac56d4701cda1eade5df7e93f0d88ececb9 Mon Sep 17 00:00:00 2001 From: Faisal Amir Date: Wed, 3 Jan 2024 00:32:01 +0700 Subject: [PATCH] feat: make auto focus button leave when dialog unsave setting shown --- web/containers/Layout/Ribbon/index.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/web/containers/Layout/Ribbon/index.tsx b/web/containers/Layout/Ribbon/index.tsx index dc238b213..74f0c0813 100644 --- a/web/containers/Layout/Ribbon/index.tsx +++ b/web/containers/Layout/Ribbon/index.tsx @@ -1,4 +1,4 @@ -import { useEffect, useState } from 'react' +import { useState } from 'react' import { Tooltip, @@ -279,6 +279,7 @@ export default function RibbonNav() {