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