fix for build

This commit is contained in:
2025-07-08 13:52:28 +02:00
parent e0e860f9c9
commit 3dcbbfd9c2

View File

@ -1,5 +1,5 @@
import { useStore } from '@nanostores/react';
import { useState, useEffect } from 'react';
import { useState } from 'react';
import { $appSettings, updateAppSettings } from '../stores/appSettings';
import { VALUE_MODES, ValueMode } from '../utils/constants';
import {
@ -291,8 +291,8 @@ export function TopBar() {
/>
</button>
<div style={{ position: 'relative', display: 'inline-block' }}>
<button
id="share-btn"
<button
id="share-btn"
onClick={handleShare}
style={{
background: shareStatus === 'copied' ? '#4CAF50' : shareStatus === 'failed' ? '#f44336' : undefined,