Ignore:
Timestamp:
02/19/26 20:33:50 (5 months ago)
Author:
Tome <gjorgievtome@…>
Branches:
main
Children:
2c7b9c8
Parents:
c586cbd (diff), 546a194 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge remote-tracking branch 'origin/main'

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pages/completed-builds/+Page.tsx

    rc586cbd r92fafb3  
    99import BuildCard from '../../components/BuildCard';
    1010import BuildDetailsDialog from '../../components/BuildDetailsDialog';
    11 import { onGetApprovedBuilds, onCloneBuild, onGetAuthState } from '../+Layout.telefunc';
     11import { onGetApprovedBuilds, onGetAuthState } from '../+Layout.telefunc';
    1212
    1313export default function CompletedBuildsPage() {
     
    6565
    6666    useEffect(() => {
    67         loadBuilds();
     67        void loadBuilds();
    6868    }, [sortBy, searchQuery]);
    69 
    70     const handleClone = async (buildId: number) => {
    71         if (!userId) return alert("Please login to clone builds!");
    72         if (confirm(`Clone this build?`)) {
    73             await onCloneBuild({buildId});
    74             alert("Build cloned!");
    75             setSelectedBuildId(null);
    76         }
    77     };
    7869
    7970    return (
     
    10293                            value={searchQuery}
    10394                            onChange={(e) => setSearchQuery(e.target.value)}
    104                             InputProps={{
    105                                 startAdornment: <InputAdornment position="start"><SearchIcon /></InputAdornment>,
     95                            slotProps={{
     96                                input: {
     97                                    startAdornment: <InputAdornment position="start"><SearchIcon /></InputAdornment>,
     98                                }
    10699                            }}
    107100                            sx={{ mb: 3 }}
     
    193186                currentUser={userId}
    194187                onClose={() => setSelectedBuildId(null)}
    195                 onClone={handleClone}
    196188            />
    197189        </Container>
Note: See TracChangeset for help on using the changeset viewer.