Skip to content

Commit

Permalink
fixed invalid collection reference
Browse files Browse the repository at this point in the history
  • Loading branch information
londonperry committed Aug 3, 2022
1 parent c36d617 commit 9fa9114
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 14 deletions.
1 change: 0 additions & 1 deletion src/blocks/Content.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,6 @@ export const Content: Block = {
'indent',
'relationship',
'upload',
Video,

This comment has been minimized.

Copy link
@londonperry

londonperry Aug 3, 2022

Author Owner

Still needs to be fixed. Removed Video from file and built without error below

[20:57:47] ERROR (payload): There were 1 errors validating your Payload config [20:57:47] ERROR (payload): 1: Collection "pages" > Field "value" does not match any of the allowed types [nodemon] app crashed - waiting for file changes before starting...

HR,
],
},
Expand Down
17 changes: 5 additions & 12 deletions src/components/AfterDashboard/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,11 @@ const baseClass = 'after-dashboard';
const AfterDashboard: React.FC = () => {
return (
<div className={baseClass}>
<h4>Join our Discord</h4>
<p>Every day, developers are actively talking about Payload and helping each other build awesome things in our Discord community. It can be a great resource to learn about what's happening with Payload before anyone else and get quick help straight from the Payload team as well as our community. <a href="https://discord.com/invite/r6sCXqVk3v" target="_blank">Click here to join!</a></p>
<h4>GraphQL Playground</h4>
<p>
Did you know that Payload gives you a complete GraphQL server too? Try the <a
href="/api/graphql-playground" target="_blank">GraphQL playground</a> for this demo.
</p>
<h4>Talk with us</h4>
<p>
We're here to help! You can <a href="mailto:info@payloadcms.com?subject=Payload Demo" target="_blank">email
us</a> with any questions.
</p>
<h4>Welcome to Ambassy</h4>
<p>Ambassy & Payload Project Test</p>
<h4><a
href="/api/graphql-playground" target="_blank">GraphQL playground</a></h4>

</div>
);
};
Expand Down
2 changes: 1 addition & 1 deletion src/components/BeforeDashboard/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const BeforeDashboard: React.FC = () => {
<div className={baseClass}>
<Banner type="success">
<Check />
<strong>Payload is completely free and open-source.</strong> If you like what we're doing, <a href="https://github.com/payloadcms/payload" target="_blank">leave us a star on GitHub!</a>
<strong>Lets Get This Bread💰</strong>
</Banner>
</div>
);
Expand Down

0 comments on commit 9fa9114

Please sign in to comment.