Skip to content

Commit

Permalink
Update about.data.ts
Browse files Browse the repository at this point in the history
Resource import fixed from `solid-js`
  • Loading branch information
ahmedali5530 authored Jan 4, 2024
1 parent d785e3d commit b35bd02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ts-router/src/pages/about.data.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import type { RouteDataFunc } from '@solidjs/router';
import { createResource } from 'solid-js';
import { createResource, Resource } from 'solid-js';

function wait<T>(ms: number, data: T): Promise<T> {
return new Promise((resolve) => setTimeout(resolve, ms, data));
Expand Down

0 comments on commit b35bd02

Please # to comment.