diff --git a/.idea/workspace.xml b/.idea/workspace.xml
index 61261b65e..15893240b 100644
--- a/.idea/workspace.xml
+++ b/.idea/workspace.xml
@@ -4,21 +4,19 @@
-
-
-
-
-
+
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
@@ -63,7 +61,7 @@
"RunOnceActivity.OpenProjectViewOnStart": "true",
"RunOnceActivity.ShowReadmeOnStart": "true",
"WebServerToolWindowFactoryState": "false",
- "git-widget-placeholder": "sw__issuse",
+ "git-widget-placeholder": "sw-dev",
"last_opened_file_path": "C:/Users/Admin/Documents/temp/Reactjs-project2/web3-onboard_sw/packages/demo/public/fonts",
"node.js.detected.package.eslint": "true",
"node.js.detected.package.tslint": "true",
@@ -71,7 +69,7 @@
"node.js.selected.package.tslint": "(autodetect)",
"nodejs_package_manager_path": "yarn",
"settings.editor.selected.configurable": "preferences.pluginManager",
- "ts.external.directory.path": "C:\\Users\\Admin\\Documents\\temp\\Reactjs-project2\\web3-onboard\\node_modules\\typescript\\lib",
+ "ts.external.directory.path": "D:\\temp\\Reactjs-project2\\web3-onboard\\node_modules\\typescript\\lib",
"vue.rearranger.settings.migration": "true"
}
}
@@ -222,7 +220,31 @@
1706010018885
-
+
+
+ 1708415755434
+
+
+
+ 1708415755434
+
+
+
+ 1708415913586
+
+
+
+ 1708415913586
+
+
+
+ 1708416261667
+
+
+
+ 1708416261667
+
+
@@ -256,8 +278,11 @@
-
-
+
+
+
+
+
\ No newline at end of file
diff --git a/packages/core/src/preflight-notifications.ts b/packages/core/src/preflight-notifications.ts
index 3b418d58d..0c163ed7b 100644
--- a/packages/core/src/preflight-notifications.ts
+++ b/packages/core/src/preflight-notifications.ts
@@ -100,7 +100,8 @@ export async function preflightNotifications(
// get result and handle errors
let hash
try {
- hash = await sendTransaction()
+ hash = await sendTransaction();
+ console.log('1231321pass', hash)
} catch (error) {
type CatchError = {
message: string
@@ -115,8 +116,10 @@ export async function preflightNotifications(
// Remove preflight notification if a resolves to hash
// and let the SDK take over
- removeNotification(id)
+
if (hash) {
+ console.log('hash', hash)
+ addNotification(buildNotification('txConfirmed', id))
return hash
}
return
diff --git a/packages/core/src/views/notify/Index.svelte b/packages/core/src/views/notify/Index.svelte
index afbbbf5e5..5057c1607 100644
--- a/packages/core/src/views/notify/Index.svelte
+++ b/packages/core/src/views/notify/Index.svelte
@@ -61,6 +61,7 @@
padding-left: 0;
display: flex;
flex-flow: column nowrap;
+ position: absolute;
font-size: var(
--notify-onboard-font-size,
var(--onboard-font-size-5, var(--font-size-5))
diff --git a/packages/core/src/views/notify/Notification.svelte b/packages/core/src/views/notify/Notification.svelte
index 432e87800..5df7d4e1d 100644
--- a/packages/core/src/views/notify/Notification.svelte
+++ b/packages/core/src/views/notify/Notification.svelte
@@ -69,7 +69,6 @@
transition: background 300ms ease-in-out, color 300ms ease-in-out;
pointer-events: all;
backdrop-filter: blur(5px);
- width: 100%;
min-height: 56px;
display: flex;
align-items: center;
diff --git a/packages/core/src/views/shared/NetworkSelector.svelte b/packages/core/src/views/shared/NetworkSelector.svelte
index a886760b5..6fc4d0e0e 100644
--- a/packages/core/src/views/shared/NetworkSelector.svelte
+++ b/packages/core/src/views/shared/NetworkSelector.svelte
@@ -69,13 +69,14 @@
select {
border: none;
background-image: none;
- border-radius: var(--border-radius-6);
+ border-radius: 48px;
background-color: var(--w3o-action-color, var(--primary-500));
-webkit-appearance: none;
-webkit-box-shadow: none;
-moz-box-shadow: none;
box-shadow: none;
appearance: none;
+ margin-top: 2px;
font-size: var(--onboard-font-size-7, var(--font-size-7));
line-height: var(--onboard-font-line-height-3, var(--font-line-height-3));
transition: width 250ms ease-in-out;
@@ -83,7 +84,7 @@
background-position: right 0px top 0px, 0 0;
scrollbar-width: none;
-ms-overflow-style: none;
- padding: 0 14px 0 5px;
+ padding: 2px 14px 1px 10px;
white-space: nowrap;
text-overflow: ellipsis;
}
@@ -130,9 +131,7 @@
style={`
color: var(${colorVar},
var(--account-center-network-selector-color, var(--gray-500)));
- background-image: url('data:image/svg+xml;utf8,${selectIcon}'); ${
- bold ? 'font-weight: 600;' : ''
- }`}
+ background-image: url('data:image/svg+xml;utf8,${selectIcon}'); `}
>
{#if !connectedToValidAppChain(wallet.chains[0], chains)}